Skip to content

Commit

Permalink
tweak _.clone/_.cloneDeep docs (lodash#4239)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle authored and jdalton committed Mar 18, 2019
1 parent c541e4c commit 750067f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ const CLONE_SYMBOLS_FLAG = 4
* and supports cloning arrays, array buffers, booleans, date objects, maps,
* numbers, `Object` objects, regexes, sets, strings, symbols, and typed
* arrays. The own enumerable properties of `arguments` objects are cloned
* as plain objects. An empty object is returned for uncloneable values such
* as error objects, functions, DOM nodes, and WeakMaps.
* as plain objects. Object inheritance is preserved. An empty object is
* returned for uncloneable values such as error objects, functions, DOM nodes,
* and WeakMaps.
*
* @since 0.1.0
* @category Lang
Expand Down
1 change: 1 addition & 0 deletions cloneDeep.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const CLONE_SYMBOLS_FLAG = 4

/**
* This method is like `clone` except that it recursively clones `value`.
* Object inheritance is preserved.
*
* @since 1.0.0
* @category Lang
Expand Down

0 comments on commit 750067f

Please sign in to comment.