Hold object references without preventing garbage collection ๐๏ธ
`WeakRef` lets you reference an object while allowing it to be GCโd if nothing else holds a strong reference. Use for caches, and pair with FinalizationRegistry.
Learn more ๐
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef









