Hudson, Rick (2013-12-06T22:17:49.000Z)
forbes at lindesay.co.uk (2013-12-07T18:01:54.353Z)
Agreed, index is the index of the destination where the value returned from the closure parameter will be placed. This is the right way to think about index. Using it directly on the source is at best redundant since element === collection[index]. The fact that the destination isn't available yet doesn't make the destination index useless. One use case that comes to mind is a convolution like a blur function in image processing. The index indicates the location in the destination where the newly created value is to be placed.