javascript map delete entry with key code example
Example: remove elements from map javascript
Object.keys(map).forEach(function (key) {
if(key.match('^'+letter)) delete obj[key];
});
Object.keys(map).forEach(function (key) {
if(key.match('^'+letter)) delete obj[key];
});