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

Glossary Term

Set.prototype.add()

2 tags 1 category

The add() method of Set instances inserts the specified value into this set, if it is not already present.

Parameters: value The value to add to the Set object. Objects are compared by reference, not by value.

value The value to add to the Set object. Objects are compared by reference, not by value.

Syntax example: add(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…