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

Function forEachSorted

test/angular/1.7/angular.js:416–422  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

414}
415
416function forEachSorted(obj, iterator, context) {
417 var keys = Object.keys(obj).sort();
418 for (var i = 0; i < keys.length; i++) {
419 iterator.call(context, obj[keys[i]], keys[i]);
420 }
421 return keys;
422}
423
424
425/**

Callers 2

serializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected