JavaScriptWeakSet

Syntax

  • new WeakSet([iterable]);
  • weakset.add(value);
  • weakset.has(value);
  • weakset.delete(value);

Remarks

For uses of WeakSet see ECMAScript 6: what is WeakSet for?.