JavaScript’s FinalizationRegistry

A FinalizationRegistry object lets you request a callback when an object is garbage-collected. Read more

Similar