1.0.0 • Published 1 year ago

@saoviettest/unde-maxime-totam-assumenda v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@saoviettest/unde-maxime-totam-assumenda Version Badge

github actions coverage License Downloads

npm badge

[].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

1.0.0

1 year ago