News for hackers. Stuff that matters.
Re:Deep Cloning Objects in JavaScript, the Modern Way by qayxc on Friday December 22, 2023 @06:16AM (#38733119)
The Date object would like to have a chat with you ;)
Re:Deep Cloning Objects in JavaScript, the Modern Way by jcparkyn on Thursday December 28, 2023 @06:55PM (#38800229)
I know you were mostly joking, but for cloning dates you can "just" use the constructor (https://stackoverflow.com/a/69601256).