Hands-On Data Structures and Algorithms with JavaScript
上QQ阅读APP看书,第一时间看更新

Sets versus WeakSets

Now, we understand the fundamental meaning of weak in the term WeakMap or WeakSetIt is not very complex to predict how sets work and how WeakSet differs from them. Let's take a quick look at the functional difference and then move on to the API.