const target = {} const ref = new WeakRef(target) ref.deref() === target // β true
deref() returns the original target object if it has not been garbage collected.
typeof new WeakRef({}) is 'object'.
typeof new WeakRef({})
'object'
Challenge: Verify the type.