JS Clear Mapa
const myMap = new Map();
//add some key value pairs
myMap.clear() // clear all key/value pairs
Clever Cowfish
const myMap = new Map();
//add some key value pairs
myMap.clear() // clear all key/value pairs