We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Updates values based on map function. 🏃 📼 📦 🌔 📒
Alternatives: map, map$. Similar: map, filter, reduce.
array.map$(x, fn, [ths]); // x: an array (updated) // fn: map function (v, i, x) // ths: this argument // --> x
const array = require('extra-array'); var x = [1, 2, 3, 4]; array.map$(x, v => v * 2); // [ 2, 4, 6, 8 ] x; // [ 2, 4, 6, 8 ]