map delete all id code example
Example 1: js delete object in map
my_map.delete(id)
Example 2: typescript delete value from map
var map = new Map();
map.set(1, 'testvalue');
console.log( "Delete value from Map = " + map.delete(1) );
my_map.delete(id)
var map = new Map();
map.set(1, 'testvalue');
console.log( "Delete value from Map = " + map.delete(1) );