WeakSet.prototype.delete

Deletes the specified element from a WeakSet object.

Syntax

delete(value?)

Parameters

Return value

true if an element in the WeakSet object has been removed successfully; otherwise false.