tweak _.clone/_.cloneDeep docs (#4239)

This commit is contained in:
David Luzar
2019-03-18 08:04:04 +01:00
committed by John-David Dalton
parent c541e4ccdc
commit 750067f42d
2 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -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