delete obj.x;
var obj={x:1};
obj.x; //1
delete obj.x;//删除对象属性
obj.x //undefined
var obj={x:1};
obj.x; //1
delete obj.x;//删除对象属性
obj.x //undefined
2015-07-13
举报