structuredClone, a deep copy in javascript

Опубликовано: 12 Март 2026
на канале: TypeWithMe
88
2

structuredClone, a deep copy in javascript is a new way to perform deep copy's in javascript. In this video I walk you through the steps on how to use structuredClone, what a deep copy is vs a shallow copy and what tricks you could use in the past. I am happy that this exists in the browser.

https://developer.mozilla.org/en-US/d...