Use _.toArray in wrapperNext.

This commit is contained in:
John-David Dalton
2015-09-19 10:31:59 -07:00
parent f029d7c943
commit a4b333ceb8

View File

@@ -6065,7 +6065,7 @@
*/
function wrapperNext() {
if (this.__values__ === undefined) {
this.__values__ = values(this.value());
this.__values__ = toArray(this.value());
}
var done = this.__index__ >= this.__values__.length,
value = done ? undefined : this.__values__[this.__index__++];