JavaScript WeakRef and Reference Counting: Balancing Memory Management | MLOG | MLOG