1 2 3 4 5
// |jit-test| skip-if: !('oomTest' in this) let registry = new FinalizationRegistry(x => 0); registry.register({}, 1, {}); let token = {}; oomTest(() => registry.unregister(token));