console.log(a.b);
console.log(c.d);
var a = {
b: 3
};
var c = {
d: 8
书写顺序就是这样,正常情况下应该是打印两次undefind;
但是,输出却是这样:
undefined
Uncaught TypeError: Cannot read property 'd' of undefined
守着一只汪
相关分类