clone-deep
Last updated
Was this helpful?
Last updated
Was this helpful?
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
The instanceClone
function is invoked to clone objects that are not "plain" objects (as defined byisPlainObject
) if it is provided. If instanceClone
is not specified, it will not attempt to clone non-plain objects, and will copy the object reference.
Install with
Install dev dependencies:
Jon Schlinkert
: Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… |
: Extend an object with the properties of additional objects. node.js/javascript util. |
: Recursively merge values in a javascript object. |
: Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. |
: Mixin the own and inherited properties of other objects onto the first object. Pass an… |
: Make a shallow clone of an object, array or primitive. |
Pull requests and stars are always welcome. For bugs and feature requests, .
Based on implementation of deepClone.
Copyright © 2014-2015 Released under the MIT license.
This file was generated by on December 23, 2015.