Map and Set in JavaScript
Maps
A map in javascript is powerful way to store key-value pairs
const map = new Map();
map.set(100,"Police Department");
map.set(101,"Fire Department");
map.set(108,"Ambulance Department")
map.set(
map-and-set-in-js-hrishikesh.hashnode.dev2 min read