Conversation
Notices
-
rin (rin@post.ebin.club)'s status on Tuesday, 18-Apr-2023 19:46:17 JST rin > One way to make a deep copy of a JavaScript object, if it can be serialized, is to use JSON.stringify() to convert the object to a JSON string, and then JSON.parse() to convert the string back into a (completely new) JavaScript object - sage likes this.