Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript promise async

await new Promise(resolve => setTimeout(resolve, 5000));
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #promise #async
ADD COMMENT
Topic
Name
5+5 =