README
util-lib-map
Map method of encapsulation integration
useAge
const { map } = require('util-lib-map');
let arr = [1, 2, 3, 4, 5, 6, 7];
const res = map(arr, (item, index) => {
console.log(index);
return item * 10;
})
console.log('res', res);