+ 1
Can someone please explain how every line of this code works?... Saw it during a JavaScript challenge
2 ответов
+ 4
isAsync = true because the program ends faster then promise executes callback.
Check out the sequence here.
https://code.sololearn.com/WzWLcf5ycZaG/?ref=app
0
Thanks a lot... I had no knowledge about promises in JavaScript