From 35bb3ac1282fbc2b18e3e466acdb6e1504af6ced Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 27 Dec 2015 10:23:13 -0600 Subject: [PATCH] Remove dead code from `baseClone`. --- lodash.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lodash.js b/lodash.js index a45225131..ee2f5231e 100644 --- a/lodash.js +++ b/lodash.js @@ -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);