Map and Set in JavaScript
JavaScript already gives us objects and arrays. So when developers first hear about Map and Set, the reaction is usually:
“Why do we need more data structures?”
Fair question.
At first glance, objects
dnano.hashnode.dev7 min read