I have a few object properties I need to delete at certain point but I still need others so I can\'t just write delete vm.model; to remove all of it.
delete vm.model;
At the
There is no much you can do to simplify it, you can use an array
["a","b","c"].forEach(k => delete vm.model[k])