mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Add _.cloneDeep alias of _.clone(…, true). [closes #140]
Former-commit-id: b71397d5c5b71cb28a60eb4656cbaf12f6b03d1a
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
var objectsMethods = [
|
||||
'assign',
|
||||
'clone',
|
||||
'cloneDeep',
|
||||
'defaults',
|
||||
'extend',
|
||||
'forIn',
|
||||
@@ -248,6 +249,7 @@
|
||||
/** List of methods used by Underscore */
|
||||
var underscoreMethods = _.without.apply(_, [allMethods].concat([
|
||||
'bindKey',
|
||||
'cloneDeep',
|
||||
'forIn',
|
||||
'forOwn',
|
||||
'isPlainObject',
|
||||
|
||||
Reference in New Issue
Block a user