之前写项目的时候遇到需要使用delete的地方
所以我使用了
let obj ={id:1,count:5}
obj.delete(count)
然后就报错了
研究了一会,发现可以使用
delete obj.count 来删除对象属性