[JS]删除对象的某个属性
2018-12-26 本文已影响7人
泉落云生
let obj = {
name:'obj',
scadule:'this content',
props:{name:'name'}
}
delete obj.scadule
console.log(obj)
let obj = {
name:'obj',
scadule:'this content',
props:{name:'name'}
}
delete obj.scadule
console.log(obj)