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

Function createIter

lib/web/polyfill.js:519–523  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

517}
518function defineStdIterators(Base, NAME, Constructor, next, DEFAULT, IS_SET){
519 function createIter(kind){
520 return function(){
521 return new Constructor(this, kind);
522 }
523 }
524 createIterator(Constructor, NAME, next);
525 var entries = createIter(KEY+VALUE)
526 , values = createIter(VALUE);

Callers 1

defineStdIteratorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected