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!
一些实用的 JavaScript 方法
A versatile npm package providing a powerful deep cloning function for JavaScript objects.
A repository that contains examples for the illustration of deep and shallow copy in Javascript
Deep copy with fine control during the process. Can be used also as a deep 'forEach'
Tiefes Klonen mit JavaScript
A deep copy means that all of the values of the new variable are copied and disconnected from the original variable. A shallow copy means that certain (sub-)values are still connected to the original variable. To really understand copying, you have to get into how JavaScript stores values.
Fastest way to deep-clone JSON objects
n this repository, I will be talking about JavaScript and its features.
Add a description, image, and links to the deep-copy topic page so that developers can more easily learn about it.
To associate your repository with the deep-copy topic, visit your repo's landing page and select "manage topics."