MCPcopy
hub / github.com/angular-ui/ui-router / map

Function map

test/angular/1.2/angular.js:730–736  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

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

Callers 2

orderByFilterFunction · 0.85

Calls 1

forEachFunction · 0.70

Tested by

no test coverage detected