mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57: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
|
* Creates a deep clone of `value`. If a `callback` function is passed,
|
||||||
* be executed to produce the cloned values. If `callback` returns the value it
|
* it will be executed to produce the cloned values. If `callback` returns
|
||||||
* was passed, cloning will be handled by the method instead. The `callback` is
|
* `undefined`, cloning will be handled by the method instead. The `callback`
|
||||||
* bound to `thisArg` and invoked with one argument; (value).
|
* is bound to `thisArg` and invoked with one argument; (value).
|
||||||
*
|
*
|
||||||
* Note: This function is loosely based on the structured clone algorithm. Functions
|
* 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
|
* and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and
|
||||||
|
|||||||
Reference in New Issue
Block a user