@devtea2026/quod-autem-aliquam-aut
v3.13.111
Published
Downloads
184
Maintainers
Readme
@devtea2026/quod-autem-aliquam-aut
[].map(f)
for older browsers
example
var map = require('@devtea2026/quod-autem-aliquam-aut');
var letters = map([97,98,99], function (c) {
return String.fromCharCode(c);
});
console.log(letters.join(''));
output:
abc
methods
var map = require('@devtea2026/quod-autem-aliquam-aut')
var ys = map(xs, f)
Create a new array ys
by applying f(xs[i], i, xs)
to each element in xs
at
index i
.
install
With npm do:
npm install @devtea2026/quod-autem-aliquam-aut
license
MIT