How JavaScript Maps Can Make Your Code Faster
Why you might be better off without a regular JavaScript object
5 min readAug 5, 2019
Among the goodies introduced to JavaScript in ES6, we saw the introduction of Sets and Maps. Unlike ordinary objects and arrays, these are ‘keyed collections’. That means their behaviour is subtly different and — used in the right contexts — they offer considerable performance…