javascript试题-请输入下面js代码的执行结果

var a={n:1};
var b= a;

a.x=a={n:2};

console.log(a.x);
console.log(b.x);

网友评论0