globalsWeakSetprototypeWeakSet.prototype.addVersion: 3.37.0On this pageWeakSet.prototype.add The add() method appends a new object to the end of a WeakSet object. Syntax add(value) Parameters value : Required. The object to add to the WeakSet collection. Return value The WeakSet object.