If it is decided the inconsistency is to much to bear, here is a solution for issue #134
Add the index parameter to when.map()'s callback function mapFunc.
Simplify the test that checks the index is passed into map's callback…
… function as the second parameter.
You can either make this a function declaration (prolly the best option) instead of a function expression assignment, or add a semicolon (it fails jshint without the semi ... try npm test).
Thanks! Yeah, we'll see where we end up on #134, but def appreciate this!
Rewrite indexedMapFunc as a function declaration.
Since there still hasn't been a big outcry for this, I'm gonna close it for now. We can revisit if people start asking for it.