jquery remove element from object by key code example
Example 1: jquery remove array element by key
var obj = { key: "value" };
delete obj["key"];
Example 2: how to remove key value pair from object in javascript
delete object.keyname;
Example 3: javascript remove object key
var obj = {a: 5, b: 3};
delete obj["a"];
console.log(obj); // {b: 3}