var name = {};
Object.defineProperties(name, {
firstName: {
value: 'z',
writable: true
},
lastName: {
value: 'daoyang',
writale: true
}
});
而把name换成其他字母,比如name1就没问题,请问这是为什么
var name1 = {};
Object.defineProperties(name1, {
firstName: {
value: 'z',
writable: true
},
lastName: {
value: 'daoyang',
writale: true
}
});
为什么name不能作为对象名???
30秒到达战场
相关分类