+ 1
await
in JavaScript what is await used for is it same as of asynch ?
2 Answers
+ 1
Async keyword define a function as asynchrone, the function return a promise.
Await keyword make JavaScript wait until promise return a value.
https://code.sololearn.com/W9P05NmZ4Q06/?ref=app
+ 1
thank you Roland (: