4.3 Weak Maps and Weak Sets
In this lesson, you'll learn about
WeakMap. These are similar to the set and map data structures, but with contains weakly referenced keys and values. In this lesson, I'll explain how the weak references don't prevent the target values from being garbage collected.