紧跟大神脚步,我也要变成大神 ⊙ o ⊙ 

赋值引用

Javascript2015-08-26 16:21
var a = {n:1},
    b = a;
a.x = a = {n:2};
console.log(a.x);
console.log(a);
console.log(b);

==》==》

评论(0)
  • 暂无评论,求挽尊...
还可输入200个字