This will allow us to use the same interface for other JS weak containers like the WeakMap & WeakRef.
This is an implementation of the following optional optimization: https://tc39.es/ecma262/#sec-weakref-execution