(Constructor, NAME, next, proto)
| 492 | FF_ITERATOR in ArrayProto && hidden(O, FF_ITERATOR, value); |
| 493 | } |
| 494 | function createIterator(Constructor, NAME, next, proto){ |
| 495 | Constructor[PROTOTYPE] = create(proto || IteratorPrototype, {next: descriptor(1, next)}); |
| 496 | setToStringTag(Constructor, NAME + ' Iterator'); |
| 497 | } |
| 498 | function defineIterator(Constructor, NAME, value, DEFAULT){ |
| 499 | var proto = Constructor[PROTOTYPE] |
| 500 | , iter = get(proto, SYMBOL_ITERATOR) || get(proto, FF_ITERATOR) || (DEFAULT && get(proto, DEFAULT)) || value; |
no test coverage detected