Object.keys, values, entries: Concept map

Let's step away from the individual data structures and talk about the iterations over them. In the previous chapter we saw methods map.keys(), map.values(), map.entries(). These methods are generic, there is a common agreement to use them for data structures. If we ever create a data structure of our own, we should implement them too.

Clickable & Draggable!

Click node to preview!