WeakSet API

The WeakSet global object is a constructor for WeakSet objects. WeakSet objects are collections of objects where each object may occur only once.

6 Total 4 Methods 2 Properties 2 Statics
  Show all

new WeakSet(…)

Creates a new WeakSet object.WeakSet.WeakSet([iterable])

[Symbol.toStringTag]

The initial value of the @@toStringTag property is the String value "WeakSet".w[Symbol.toStringTag]

add(…)

Appends a new object to the end of a WeakSet object.w.add(value)

delete(…)

Removes the specified element from a WeakSet object.w.delete(value)

has(…)

Returns a boolean indicating whether an object exists in a WeakSet or not.w.has(value)

WeakSet.prototype

The prototype of the WeakSet constructor.WeakSet.prototype

[Symbol.toStringTag]

property

The initial value of the @@toStringTag property is the String value "WeakSet". w[Symbol.toStringTag]

You seem to be offline. App may not work.