Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. Used by superstruct, merge-deep, and many others!
-
Updated
Feb 9, 2024 - JavaScript
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. Used by superstruct, merge-deep, and many others!
Fastest way to deep-clone JSON objects
JavaScript codes
Add a description, image, and links to the clone-deep topic page so that developers can more easily learn about it.
To associate your repository with the clone-deep topic, visit your repo's landing page and select "manage topics."