MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / Enumerate

Function Enumerate

lib/web/polyfill.js:1758–1762  ·  view source on GitHub ↗
(iterated)

Source from the content-addressed store, hash-verified

1756
1757!function(){
1758 function Enumerate(iterated){
1759 var keys = [], key;
1760 for(key in iterated)keys.push(key);
1761 set(this, ITER, {o: iterated, a: keys, i: 0});
1762 }
1763 createIterator(Enumerate, OBJECT, function(){
1764 var iter = this[ITER]
1765 , keys = iter.a

Callers

nothing calls this directly

Calls 2

setFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected