Pergunta de entrevista da empresa Cetera Labs

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

Resposta da entrevista

Sigiloso

6 de nov. de 2023

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