JavaScript Usuń element z obiektu
delete object.element
Common Dolphin
delete object.element
var obj = {
func: function(a, b) {
return a + b;
}
};
delete obj.func;
obj.func(); // Uncaught TypeError: obj.func is not a function