1. 4
  1.  

  2. 3

    I dislike this. If you want to transform an array, use map and Promise.all. If you want to perform a side-effect, there is the for await extension.

    1. 1

      Agreed. You can also use await in the for loop body for ultimate control.