MCPcopy
hub / github.com/binux/qiandao / map

Function map

web/static/components/angularjs/angular.js:728–734  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

726
727
728function map(obj, iterator, context) {
729 var results = [];
730 forEach(obj, function(value, index, list) {
731 results.push(iterator.call(context, value, index, list));
732 });
733 return results;
734}
735
736
737/**

Callers 1

orderByFilterFunction · 0.70

Calls 1

forEachFunction · 0.85

Tested by

no test coverage detected