delete from json js code example
Example 1: remove element json javascript
var skill = "javascript";
delete candidate[skill];
Example 2: remove element json javascript
delete candidate.skills;
var skill = "javascript";
delete candidate[skill];
delete candidate.skills;