let obj1 = {‘name‘: ‘hello world‘}; let obj2 = Object.assign({},obj1);
js对象赋值影响原对象
原文:https://www.cnblogs.com/Blogzlj/p/12109882.html