We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const list = [1, 2, 3] const square = num => { return new Promise((resolve, reject) => { setTimeout(() => { resolve(num * num) }, 1000) }) } function test() { list.forEach(async x=> { const res = await square(x) console.log(res) }) } test()