1 points · by gabriel34 · 5y ago · 1 comment
const baz = foo.forEach(async (bar) => await (new promise(() => console.log(bar)))));
An async function walks into a loop. | Text « ovl
A solution for async functionality in template loops, using `eleventy-image` as an example, some basics about JavaScript loops, and debugging advice. All in what should be a short note.
www.ovl.design