📜  按值传递对象 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:11.552000             🧑  作者: Mango

代码示例1
JSON.parse(JSON.stringify(obj)) //is a fast way to copy your objects, if your objects can be serialized to json.