diff options
Diffstat (limited to 'node_modules/lodash/cloneDeep.js')
-rw-r--r-- | node_modules/lodash/cloneDeep.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/node_modules/lodash/cloneDeep.js b/node_modules/lodash/cloneDeep.js index 94efce123..4425fbe8b 100644 --- a/node_modules/lodash/cloneDeep.js +++ b/node_modules/lodash/cloneDeep.js @@ -1,5 +1,9 @@ var baseClone = require('./_baseClone'); +/** Used to compose bitmasks for cloning. */ +var CLONE_DEEP_FLAG = 1, + CLONE_SYMBOLS_FLAG = 4; + /** * This method is like `_.clone` except that it recursively clones `value`. * @@ -19,7 +23,7 @@ var baseClone = require('./_baseClone'); * // => false */ function cloneDeep(value) { - return baseClone(value, true, true); + return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); } module.exports = cloneDeep; |