blob: bed811cd0663935a53bbbe5a1b5ff2b96de739eb [file] [log] [blame]
"use strict";
module.exports = Iteration;
function Iteration(value, done, index) {
this.value = value;
this.done = done;
this.index = index;
}
Iteration.prototype.equals = function (other) {
return (
typeof other == 'object' &&
other.value === this.value &&
other.done === this.done &&
other.index === this.index
);
};