We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Updates values based on map function. 🏃 📦 🌔
Alternatives: default, update.
array.map(x, fn, [ths]); // x: an array // fn: map function (v, i, x) // ths: this argument
const array = require('extra-array'); var x = [1, 2, 3, 4]; array.map(x, v => v * 2); // [2, 4, 6, 8]