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