The target object of the WeakRef, or undefined if the object has been garbage-collected.
Tests whether this object has the specified property as a direct property.
Tests whether this object has the specified property as a direct property.
Unlike js.Object.hasProperty, this method does not check down the object's prototype chain.
MDN
Tests whether this object is in the prototype chain of another object.
Tests whether this object is in the prototype chain of another object.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
Tests whether the specified property in an object can be enumerated by a call to js.Object.properties, with the exception of properties inherited through the prototype chain.
If the object does not have the specified property, this method returns false.
MDN
ECMAScript 2021
A WeakRef object lets you hold a weak reference to another object, without preventing that object from getting garbage-collected.
MDN
unconstrained, but the constructor will throw a TypeError if targetObject is not an Object.