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

Glossary Term

WeakSet.prototype.has()

2 tags 1 category

The has() method of WeakSet instances returns a boolean indicating whether the specified value exists in this WeakSet or not.

Return value: Returns true if the specified value exists in the WeakSet object; otherwise false. Always returns false if value is not an object or a non-registered symbol.

Parameters: value The value to test for presence in the WeakSet object. Objects are compared by reference, not by value.

Syntax example: has(value)

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…