The rest of this chapter will focus on new data structures added in ECMAScript. To some extent, they can be simulated in ES5. However, native support and explicit naming make code that utilizes these features more efficient and clearer.
In this recipe, we'll take a look at the basics of adding and removing entries from a Map using the set and delete methods.