MCPcopy Index your code
hub / github.com/angular-ui/ui-router / forEachSorted

Function forEachSorted

test/angular/1.4/angular.js:370–376  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

368}
369
370function forEachSorted(obj, iterator, context) {
371 var keys = Object.keys(obj).sort();
372 for (var i = 0; i < keys.length; i++) {
373 iterator.call(context, obj[keys[i]], keys[i]);
374 }
375 return keys;
376}
377
378
379/**

Callers 2

serializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected