const myMap = new Map();
//add some key value pairs
myMap.clear() // clear all key/value pairs
// Deletes all entries in your Map.
const user = new Map([
['First Name', 'Divine'],
['Last Name', 'Orji'],
['Age', 24],
[false, 'Dance'],
]);
user.clear()
console.log(user)
// Map(0) {}