Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

async foreach

[1, 2, 3].forEach(async (num) => {  await waitFor(50);  console.log(num);});console.log('Done');
Source by codeburst.io #
 
PREVIOUS NEXT
Tagged: #async #foreach
ADD COMMENT
Topic
Name
6+3 =