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

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

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