Instead of using an Object as our key-value store, let's use a Map - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map (yes, it's marked as experimental technology, but it's definitely sticking around, and definitely usable in our code).