WeakSet.prototype.add

Adds the given value to the WeakSet object.

Syntax

add(value)

Parameters

Return value

The same WeakSet object.