registerbeginnerconst reg = new FinalizationRegistry(k => {})
let o = {}
reg.register(o, 'data')
// reg holds a weak reference; o can still be GC-edFinalizationRegistry holds only a weak reference, so it does not prevent garbage collection.
typeof FinalizationRegistry.prototype.unregister is 'function'.
Challenge: Verify unregister exists on the prototype.