Skip to content

Commit

Permalink
Add _.cloneDeep doc note to _.clone too. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 28, 2014
1 parent d655475 commit 1ec9130
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -5212,6 +5212,12 @@
* 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 method is loosely based on the structured clone algorithm. Functions
* and DOM nodes are **not** cloned. The enumerable properties of `arguments` objects and
* objects created by constructors other than `Object` are cloned to plain `Object` objects.
* See the [HTML5 specification](http://www.w3.org/TR/html5/infrastructure.html#internal-structured-cloning-algorithm)
* for more details.
*
* @static
* @memberOf _
* @category Objects
Expand Down

0 comments on commit 1ec9130

Please sign in to comment.