how to remove key value pair from object in javascript

JavaScript
delete object.keyname;var obj = {a: 5, b: 3};
delete obj["a"];
console.log(obj); // {b: 3}
Source

Also in JavaScript: