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

Function forEachSorted

test/angular/1.5/angular.js:354–360  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

352}
353
354function forEachSorted(obj, iterator, context) {
355 var keys = Object.keys(obj).sort();
356 for (var i = 0; i < keys.length; i++) {
357 iterator.call(context, obj[keys[i]], keys[i]);
358 }
359 return keys;
360}
361
362
363/**

Callers 2

serializeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected