Skip to content

Instantly share code, notes, and snippets.

View vjefri's full-sized avatar

Jefri Vanegas vjefri

View GitHub Profile
// create asyncMap func with array and callback as args
// create empty results list
// create counter set to 0
// for func in array of functions
// invoke func with anonymous function as arg which takes item
// asign item to results sub index
// increment counter by 1
// if last func in array
// invoke callback with results as arg