1. 将多个源对象中的可遍历属性复制到目标对象中并将目标对象返回,使用的是 get 和 set,会调用 getter 和 setter ,所以当源对象有 getter 时可能不适合作为源对象。
2. 语法: Object.assign(target, source)
3. 解构就是使用这个