MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / forEachSorted

Function forEachSorted

test/fixtures/foo.js:350–356  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

348}
349
350function forEachSorted(obj, iterator, context) {
351 var keys = sortedKeys(obj);
352 for ( var i = 0; i < keys.length; i++) {
353 iterator.call(context, obj[keys[i]], keys[i]);
354 }
355 return keys;
356}
357
358
359/**

Callers 1

buildUrlFunction · 0.85

Calls 1

sortedKeysFunction · 0.85

Tested by

no test coverage detected