const reg = new FinalizationRegistry(k => {})
// The callback is not guaranteed to run synchronouslyThe cleanup callback may run after garbage collection, which is non-deterministic.
typeof reg.register is 'function'.
Challenge: Verify that register is a function on the instance.