WeakMap.prototype.delete

Deletes the element with the specified key.

Syntax

delete(key)

Parameters

Return value

true if an element in the WeakMap object existed and has been removed, or false if the element does not exist.