const ref = new WeakRef({})
typeof ref // β 'object'WeakRef is an object type used for memory-sensitive caching scenarios.
new WeakRef(42) throws a TypeError because WeakRef only accepts objects.
Challenge: Verify that passing a primitive throws.