How JavaScript’s WeakMap Knows an Object Is Gone — Even Without You Telling It

And why this matters more than ever in Angular and modern UI frameworks.