new 연산자super 키워드? : ), )if 문do-while 문while 문for 문for-in, for-of, for-await-of 문continue 문break 문return 문with 문switch 문throw 문try 문debugger 문?um/p1-90`WeakRef 생성자는:
extends 절의 값으로 사용될 수 있다. 지정된 WeakRef 동작을 상속하려는 서브클래스 생성자는 WeakRef.prototype 내장 메서드를 지원하는 데 필요한 내부 상태로 서브클래스 인스턴스를 생성하고 초기화하기 위해 WeakRef 생성자에 대한 super 호출을 포함해야 한다.
이 함수는 호출될 때 다음 단계를 수행한다:
WeakRef.prototype의 초기값은
이 속성은 { [[Writable]]:
WeakRef 프로토타입 객체는:
WeakRef.prototype.constructor의 초기값은
이 메서드는 호출될 때 다음 단계를 수행한다:
let target = { foo() {} };
let weakRef = new WeakRef(target);
// ... 나중에 ...
if (weakRef.deref()) {
weakRef.deref().foo();
}
위 예에서 첫 번째 deref가
이 속성은 { [[Writable]]:
The abstract operation WeakRefDeref takes argument weakRef (a
이
FinalizationRegistry 생성자는:
extends 절의 값으로 사용될 수 있다. 지정된 FinalizationRegistry 동작을 상속하려는 서브클래스 생성자는 FinalizationRegistry.prototype 내장 메서드를 지원하는 데 필요한 내부 상태로 서브클래스 인스턴스를 생성하고 초기화하기 위해 FinalizationRegistry 생성자에 대한 super 호출을 포함해야 한다.
이 함수는 호출될 때 다음 단계를 수행한다:
FinalizationRegistry.prototype의 초기값은
이 속성은 { [[Writable]]:
FinalizationRegistry 프로토타입 객체는:
FinalizationRegistry.prototype.constructor의 초기값은
이 메서드는 호출될 때 다음 단계를 수행한다:
이 메서드는 호출될 때 다음 단계를 수행한다:
이 속성은 { [[Writable]]: