mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Correct _.cloneDeep docs.
Former-commit-id: 93849f67b49fbba0d91ea8693a4d0b324f55352c
This commit is contained in:
@@ -1246,10 +1246,10 @@
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a deep clone of `value`. If a `callback` function is passed, it will
|
||||
* be executed to produce the cloned values. If `callback` returns the value it
|
||||
* was passed, cloning will be handled by the method instead. The `callback` is
|
||||
* bound to `thisArg` and invoked with one argument; (value).
|
||||
* Creates a deep clone of `value`. If a `callback` function is passed,
|
||||
* it will be executed to produce the cloned values. If `callback` returns
|
||||
* `undefined`, cloning will be handled by the method instead. The `callback`
|
||||
* is bound to `thisArg` and invoked with one argument; (value).
|
||||
*
|
||||
* Note: This function is loosely based on the structured clone algorithm. Functions
|
||||
* and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and
|
||||
|
||||
Reference in New Issue
Block a user