diff options
Diffstat (limited to 'node_modules/lodash/cloneWith.js')
-rw-r--r-- | node_modules/lodash/cloneWith.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/lodash/cloneWith.js b/node_modules/lodash/cloneWith.js index f24caf8b3..d2f4e756d 100644 --- a/node_modules/lodash/cloneWith.js +++ b/node_modules/lodash/cloneWith.js @@ -1,5 +1,8 @@ var baseClone = require('./_baseClone'); +/** Used to compose bitmasks for cloning. */ +var CLONE_SYMBOLS_FLAG = 4; + /** * This method is like `_.clone` except that it accepts `customizer` which * is invoked to produce the cloned value. If `customizer` returns `undefined`, @@ -33,7 +36,7 @@ var baseClone = require('./_baseClone'); */ function cloneWith(value, customizer) { customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, false, true, customizer); + return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); } module.exports = cloneWith; |