From a4b333ceb8ab33dd82466abd0a2abb7c7e658c86 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 19 Sep 2015 10:31:59 -0700 Subject: [PATCH] Use `_.toArray` in `wrapperNext`. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 7af716456..888afa24b 100644 --- a/lodash.js +++ b/lodash.js @@ -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__++];