WeakSet.prototype.delete
The delete()
method removes the specified element from a
WeakSet
object.
Syntax
delete(value)
Parameters
value
- : Required. The object remove from the
WeakSet
object.
- : Required. The object remove from the
Return value
true
if an element in the WeakSet
object has been removed
successfully. false
if the value
is not found in
the WeakSet
or if the value
is not an object.