APPLE 323c2f1633 wesmiler 点什么广告 пре 3 година
..
example 323c2f1633 wesmiler 点什么广告 пре 3 година
test 323c2f1633 wesmiler 点什么广告 пре 3 година
.travis.yml 323c2f1633 wesmiler 点什么广告 пре 3 година
LICENSE 323c2f1633 wesmiler 点什么广告 пре 3 година
index.js 323c2f1633 wesmiler 点什么广告 пре 3 година
package.json 323c2f1633 wesmiler 点什么广告 пре 3 година
readme.markdown 323c2f1633 wesmiler 点什么广告 пре 3 година

readme.markdown

array-map

[].map(f) for older browsers

testling badge

build status

example

var map = require('array-map');
var letters = map([97,98,99], function (c) {
    return String.fromCharCode(c);
});
console.log(letters.join(''));

output:

abc

methods

var map = require('array-map')

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 array-map

license

MIT