话不多说上代码
var data = {a:1,b:2,c:3}
for(var item in data){
if (item == 'b') {
delete data[item];
}
}
话不多说上代码
var data = {a:1,b:2,c:3}
for(var item in data){
if (item == 'b') {
delete data[item];
}
}