摘要: 首先 先抛出两个例子,大家想想结果是什么? eg1: var a = 1; var b = a; a.x = a = 3; 问 a = ? | b = ? | a.x = ? eg2: var a = {n:1}; var b = a; a.x = a = {n:2}; 问 a = ? | b = 阅读全文
posted @ 2018-04-14 00:06 驸马爷 阅读(735) 评论(0) 推荐(0) 编辑