Jak usunąć Prperty lub obiekt w Javscript

delete object['property'];
//or
delete object.property;
// or
const name = 'dynamicProperty';
delete object[name];
Lucky Llama