Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

array mdn map

let new_array = arr.map(function callback( currentValue[, index[, array]]) {
    // return element for new_array
}[, thisArg])
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #array #mdn #map
ADD COMMENT
Topic
Name
8+3 =