WeakMap and WeakRef: Memory-Efficient Data Structures | DevPrep