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

Function forEachSorted

test/angular/1.6/angular.js:447–453  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

445}
446
447function forEachSorted(obj, iterator, context) {
448 var keys = Object.keys(obj).sort();
449 for (var i = 0; i < keys.length; i++) {
450 iterator.call(context, obj[keys[i]], keys[i]);
451 }
452 return keys;
453}
454
455
456/**

Callers 2

serializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected