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?um/p1-90`WeakRef
extends 절의 값으로 사용될 수 있다. 지정된 WeakRef 동작을 상속하려는 서브클래스 생성자는 WeakRef.prototype의 내장 메서드를 지원하는 데 필요한 내부 상태로 서브클래스 인스턴스를 생성하고 초기화하기 위해 WeakRef 생성자에 대한 super 호출을 포함해야 한다.
이 function은 called될 때 다음 steps를 수행합니다:
WeakRef.prototype의 initial value는
이 property는 attributes { [[Writable]]:
WeakRef prototype object는:
WeakRef.prototype.constructor의 initial value는
이 method는 called될 때 다음 steps를 수행합니다:
let target = { foo() {} };
let weakRef = new WeakRef(target);
// ... later ...
if (weakRef.deref()) {
weakRef.deref().foo();
}
위 example에서 first deref가
이 property는 attributes { [[Writable]]:
The abstract operation WeakRefDeref takes argument weakRef (a
이 abstract operation은 liveness를 succinctly define할 수 있도록 strictly WeakRef.prototype.deref와 separately defined됩니다.
FinalizationRegistry
extends 절의 값으로 사용될 수 있다. 지정된 FinalizationRegistry 동작을 상속하려는 서브클래스 생성자는 FinalizationRegistry.prototype의 내장 메서드를 지원하는 데 필요한 내부 상태로 서브클래스 인스턴스를 생성하고 초기화하기 위해 FinalizationRegistry 생성자에 대한 super 호출을 포함해야 한다.
이 function은 called될 때 다음 steps를 수행합니다:
FinalizationRegistry.prototype의 initial value는
이 property는 attributes { [[Writable]]:
FinalizationRegistry prototype object는:
FinalizationRegistry.prototype.constructor의 initial value는
이 method는 called될 때 다음 steps를 수행합니다:
이 method는 called될 때 다음 steps를 수행합니다:
이 property는 attributes { [[Writable]]: