Skip to content
View anna-llorens's full-sized avatar
:octocat:
:octocat:
  • Madrid, Spain
  • 01:49 (UTC -12:00)

Block or report anna-llorens

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. JavaScript: async/await with forEach() JavaScript: async/await with forEach()
    1
    // Promise timeout
    2
    const waitFor = (ms) => new Promise(r => setTimeout(r, ms)) 
    3
    
                  
    4
    // forEach() async loop
    5
    const asyncForEach = async (array, callback) => {