Maps in ES6
Common things between Maps and Sets
Both share common properties and methods
Both are iterable which means you can loop over them.
WeakMaps and WeakSets don't prevent object from being garbage collected.
Maps
Maps are unique because they are collec...
successo.hashnode.dev5 min read