[–] Zekio 5y ago ↗ I thought you could just add async to the function inside the forEach, like this: const baz = foo.forEach(async (bar) => await (new promise(() => console.log(bar)))));
1 comment
[ 4.0 ms ] story [ 13.7 ms ] thread