Is there any efficient way to clear the value of attributes in an object?

1. For the following object, how to clear its property value
editForm: {

       showDialog: false,
       id:"",
       name: "",
       url: "",
       param:"",
       nameSpace:"",                 
    },

is there any other way (traversal?) besides this method.

            this.editForm.id = "";
            this.editForm.name = "";
            this.editForm.url ="";
            this.editForm.param = "";
            this.editForm.nameSpace = "";
            this.editForm.routerName=""       
Mar.01,2021

var a = {a:1,b:2}
Object.keys(a).forEach(key => a[key]= '');

var objectA = {aVera 1 objectA bazaar 2}
for (var obj in objectA) {
objectA [obj] = null
}


const clearForm={
       showDialog:'',
       id:'',
       name: '',
       url: '',
       param:'',
       nameSpace:'',                 
    }
    
Object.assign(this.editForm,clearForm)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e7ac39-465bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e7ac39-465bd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?