In this chapter, we delved into sets and maps, their weaker counterparts, and their APIs. Then, we used sets and maps in few real-world examples such as applications with keyboard shortcuts for navigation powered by sets and an application analytics tracker powered by sets and maps. Then, we concluded the chapter with a performance comparison between objects and arrays.
In the next chapter, we will be exploring trees and how we can leverage them to make our web applications faster with reduced code complexity.
Â