Programming / Web Development Does copying in JavaScript change the original data? Experimenting with structuredClone and shallow copy
We experiment with why shallow copies change original data in JavaScript, using differences between structuredClone, Date/Map, and JSON serialization.