Structured clones in javascript
Briefly

The structuredClone function is a relatively new addition to the JavaScript language that was introduced in ECMAScript 2019 (ES10).It is similar to the JSON.stringify and JSON.parse methods in that it allows developers to serialize and deserialize objects, but with some important differences.The structuredClone function creates a deep copy of an object and its properties, including any child objects and functions, while preserving their type and behavior.
Read at Medium
[
add
]
[
|
|
]