Remove dead code from baseClone.

This commit is contained in:
John-David Dalton
2015-12-27 10:23:13 -06:00
parent 4f1c3887f7
commit 35bb3ac128

View File

@@ -2257,9 +2257,6 @@
: (object ? value : {});
}
}
if (!isDeep) {
return result;
}
// Check for circular references and return its corresponding clone.
stack || (stack = new Stack);
var stacked = stack.get(value);