摘要: 1、赋值 修改新对象原来的对象会发生改变(改变存储空间,联动改变) let person = { name: 'Tom', age: 12, hobby: ['音乐', '动漫'] } let copyObj = person; copyObj.name = '小明'; copyObj.hobby[ 阅读全文
posted @ 2022-05-26 12:07 likepoems 阅读(35) 评论(0) 推荐(0) 编辑