Advanced Async-Await Javascript Tutorial - Why forEach Is Bad for Async Await Code

Advanced Async-Await Javascript Tutorial - Why forEach Is Bad for Async Await Code

Dave Gray via YouTube Direct link

Alternative #2: for...of loop

7 of 9

7 of 9

Alternative #2: for...of loop

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Advanced Async-Await Javascript Tutorial - Why forEach Is Bad for Async Await Code

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Welcome and Intro
  3. 3 forEach - What's it good for?
  4. 4 Async fetch request example
  5. 5 forEach with Async Await is BAD
  6. 6 Alternative #1: traditional for loop
  7. 7 Alternative #2: for...of loop
  8. 8 Alternative #3: Promise.all with map
  9. 9 Alternative #4: A different reduce

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.