new Operatorsuper Keyword? : ), )if Statementdo-while Statementwhile Statementfor Statementfor-in, for-of, and for-await-of Statementscontinue Statementbreak Statementreturn Statementwith Statementswitch Statementthrow Statementtry Statementdebugger Statement?uem/p1-90`A
The WeakRef
extends clause of a class definition. Subclass WeakRef behaviour must include a super call to the WeakRef WeakRef.prototype.
This
The
The initial value of WeakRef.prototype is the
This property has the
The WeakRef prototype object:
The initial value of WeakRef.prototype.constructor is
This
If the
let foo() {} };
let weakRef = new WeakRef(target);
// ... later ...
if (weakRef.deref()) {
weakRef.deref().foo();
}
In the above example, if the first deref does not evaluate to
The initial value of the
This property has the
The abstract operation WeakRefDeref takes argument weakRef (a
This abstract operation is defined separately from WeakRef.prototype.deref strictly to make it possible to succinctly define liveness.
A
The FinalizationRegistry
extends clause of a class definition. Subclass FinalizationRegistry behaviour must include a super call to the FinalizationRegistry FinalizationRegistry.prototype.
This
The
The initial value of FinalizationRegistry.prototype is the
This property has the
The FinalizationRegistry prototype object:
The initial value of FinalizationRegistry.prototype.constructor is
This
Based on the algorithms and definitions in this specification, cell.[[HeldValue]] is
This
The initial value of the
This property has the