Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

WeakSet() constructor

2 tags 1 category

Parameters: iterable If an iterable object is passed, all of its elements will be added to the new WeakSet. null is treated as undefined.

iterable If an iterable object is passed, all of its elements will be added to the new WeakSet. null is treated as undefined.

Note that foo !== bar. While they are similar objects, _they are not the same object_. And so they are both added to the set.

Syntax example: new WeakSet()

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…