Map and Set in JavaScript
Problems With Traditional Structures
The Object Problem:
Objects → for key-value storage
Keys are always strings (or symbols)
No guaranteed order (historically)
Not optimized for frequent insert/
joydeep.hashnode.dev7 min read