remove json javascript

JavaScript
delete myObj.test.key1;
Source

Also in JavaScript: