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)
Menu