Message from JavaScript discussions

May 2019

β€” Nice

β€” 

You are welcome.
With your game,
You have done async or something close.
You could also do async like this

const doSomethingAsync = () => {
return new Promise(resolve => {
setTimeout(() => resolve('I did something'), 3000)
})
}

const doSomething = async () => {
console.log(await doSomethingAsync())
}
console.log('Before')

doSomething()

console.log('After')


You could try it, modify it and have fun. :)

β€” Thanks for the idea

β€” JavaScript is So hard 😒😭

β€” Somebody help me with this code please 😞😞

Given a variable "marks"

1) Print (AA) if marks is greater than 90

2) Print (AB) if marks is greater than 80 and less than or equal to 90

Message permanent page

β€” Please any one that can help me with a software that can enable me to have the right lottery number of this game

Message permanent page

β€” Please help

β€” What do you have? What you already tried?

β€” Tried this

β€” Ok, πŸ‘
Multiple problems. Strings should be inside single or double quotes. You’re not assigning any value to marks.

Message permanent page

β€” Nope... you can't turn async code into blocking code

β€” Do that then! It's great