1.0.2 • Published 2 years ago

array-map-test v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

这是一个用来测试上传npm的包

这个包是一个JavaScript插件,仿照Array中的map方法

示例

  • 安装 npm install array-map-test
  • 使用实例
import * as arrayMap from "../dist/array-map-test";

const tempArr = [1,2,3];
const tempFunc = (item,index,arr) => {
    return item + 5;
}
const example = arrayMap(tempArr,tempFunc);
console.log(example):