delete from an object code example
Example 1: javascript remove element from object
delete object.element
Example 2: js remove key from object
// Example 1
var key = "Cow";
delete thisIsObject[key];
// Example 2
delete thisIsObject["Cow"];
// Example 3
delete thisIsObject.Cow;