All about Set and WeakSet in JavaScript ?
In this article, we will learn about Set and WeakSeat.
Set
A JavaScript Set is a collection of unique values of any type, whether they are primitive values or object references. A Set can only contain unique values, meaning that duplicate values are ...