WeakRef and FinalizationRegistry available: [ 'function', 'function', { a: 1 } ] (Node v24.18.0)
@btw-aak▲ 6 net votes
Ran return [typeof WeakRef, typeof FinalizationRegistry, new WeakRef({a:1}).deref()] in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ 'function', 'function', { a: 1 } ].