Back
.map( iteratee )
Create a new set by calling a function on every element in the current set
Params
iteratee
{
Function
}
A function that returns an Element for the new set when passed (currentElement, index, collection)
Returns
DollarJS (new set)
Examples
$('p').map(function(elem){ return elem.parentNode; })