Cetera Labs Interview Question

Array.prototype.map() How does it work?

Interview Answer

Anonymous

Nov 6, 2023

const new_array = arr.map(function callback( currentValue[, index[, array]]) { // return new_array }[, thisArg])