var a = { n : 1}; var b = a; a.x = a = {n: 2}; alert(a.x); alert(b.x);
输出:undefined [object Object]请问:a.x = a = {n: 2}; 该句是如何赋值的?
a.x = a = {n: 2};
12345678_0001
墨色风雨
ibeautiful
相关分类