Ensure each is converted to forEach when used in a ternary operation.

Former-commit-id: ff42e367f9987726fd561037337081c63c7a5100
This commit is contained in:
John-David Dalton
2013-05-19 14:23:35 -07:00
parent a2088fa500
commit 16242f98ce
6 changed files with 6 additions and 5 deletions

View File

@@ -1284,7 +1284,7 @@
stackB.push(result);
// recursively populate clone (susceptible to call stack limits)
(isArr ? forEach : forOwn)(value, function(objValue, key) {
(isArr ? each : forOwn)(value, function(objValue, key) {
result[key] = clone(objValue, deep, callback, undefined, stackA, stackB);
});