I\'m using caolan\'s async.js library, specifically the .each method.
How do you get access to the index in the iterator?
async.each(ary, function(elemen
Just use async.forEachOf().
async.forEachOf()
async.forEachOf(arr, function(value, index, callback) { ... }, ...
For detail, see documentation here.