@saoviettest/unde-maxime-totam-assumenda
v1.0.0
Published
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Downloads
3
Maintainers
Keywords
Readme
@saoviettest/unde-maxime-totam-assumenda
[].map(f)
for older browsers
example
var map = require('@saoviettest/unde-maxime-totam-assumenda');
var letters = map([97,98,99], function (c) {
return String.fromCharCode(c);
});
console.log(letters.join(''));
output:
abc
methods
var map = require('@saoviettest/unde-maxime-totam-assumenda')
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 @saoviettest/unde-maxime-totam-assumenda
license
MIT