Objects can be used as cheap maps but they're more than that. That's why ES2015 brought us Map and Set.
Objects can be used as cheap maps but they're more than that. That's why ES2015 brought us Map and Set.