FlashcardIntermediate
forEach ignores promises: use for...of or Promise.all
Array.forEach doesn't await async callbacks, so use for...of or Promise.all instead.
Question
Why does awaiting inside Array.prototype.forEach not work as expected?
Click to reveal answer