map (callback, target) Arraypublic
Defined in packages/ember-runtime/lib/mixins/enumerable.js:326
Maps all of the items in the enumeration to another value, returning a new array. This method corresponds to map() defined in JavaScript 1.6. The callback method you provide should have the following signature (all parameters are optional): function(item, index, enumerable);
item is the current item in the iteration.
index is the current index in the iteration.
enumerable is the enumerable