We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
constlist=[1,2,3]constsquare=num=>{returnnewPromise((resolve,reject)=>{setTimeout(()=>{resolve(num*num)},1000)})}functiontest(){list.forEach(asyncx=>{constres=awaitsquare(x)console.log(res)})}test()