Maps in JavaScript

from blog Oliver Caldwell's blog, | ↗ original
No, I don’t mean the things that help you find obscure places, I mean the things you can store data within. Your average JavaScript object that makes up just about everything in the language is actually a map, it just restricts you to mapping string keys to values of any kind. Wouldn’t it be great if you could map anything to anything though?...