MCPcopy Create free account
hub / github.com/csev/py4e / map

Function map

code/gmane/Chart.bundle.js:1629–1635  ·  view source on GitHub ↗
(arr, fn)

Source from the content-addressed store, hash-verified

1627 }
1628
1629 function map(arr, fn) {
1630 var res = [], i;
1631 for (i = 0; i < arr.length; ++i) {
1632 res.push(fn(arr[i], i));
1633 }
1634 return res;
1635 }
1636
1637 function hasOwnProp(a, b) {
1638 return Object.prototype.hasOwnProperty.call(a, b);

Callers 1

configFromInputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected