1 var toArray = require(
'./toArray');
25 function wrapperNext() {
26 if (this.__values__ === undefined) {
27 this.__values__ = toArray(this.value());
29 var done = this.__index__ >= this.__values__.length,
30 value = done ? undefined : this.__values__[this.__index__++];
32 return {
'done': done,
'value': value };
35 module.exports = wrapperNext;