js remove element from doc code example
Example 1: remove div javascript
var div = document.getElementById('div-01');
div.remove();
Example 2: js remove entry
delete obj.entry;
var div = document.getElementById('div-01');
div.remove();
delete obj.entry;