猫幻  

2021年11月8日

摘要: //直接赋值 对象的完全引用 // stu1.class.name="web123457" //stu1.id=10001 // var stu2=stu1; // console.log(stu2); //浅拷贝 var stu2={}; stu2.id=stu1.id;//非引用类型直接拷贝 s 阅读全文
posted @ 2021-11-08 15:17 猫幻 阅读(28) 评论(0) 推荐(0)