diff --git a/clone.js b/clone.js index b4fdc83437..97d084f0d0 100644 --- a/clone.js +++ b/clone.js @@ -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 diff --git a/cloneDeep.js b/cloneDeep.js index fad5ab0d03..390e945fbe 100644 --- a/cloneDeep.js +++ b/cloneDeep.js @@ -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