JavaScript中删除对象中属性的方法就是 delete:

    1. let obj = {
    2. name: 'zhangsan'
    3. age: 18
    4. }
    5. delete obj.name //就删除了name属性了