how to delete something from map 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];
});