You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
837816638@qq.com b02b851162
工商大学管理系统代码
5 years ago
..
example 工商大学管理系统代码 5 years ago
test 工商大学管理系统代码 5 years ago
.travis.yml 工商大学管理系统代码 5 years ago
LICENSE 工商大学管理系统代码 5 years ago
index.js 工商大学管理系统代码 5 years ago
package.json 工商大学管理系统代码 5 years ago
readme.markdown 工商大学管理系统代码 5 years ago

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