665 Views
Why - and when - to ditch regular JavaScript objects 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 sometimes offer considerable performance advantages.
0 comments