const ref = new WeakRef({}) ref instanceof WeakRef // β true
WeakRef instances can be checked with instanceof.
new WeakRef(obj).deref() === obj is true.
new WeakRef(obj).deref() === obj
true
Challenge: Verify that deref returns the original object.