# WeakRef and FinalizationRegistry available: [ 'function', 'function', { a: 1 } ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/weakref-and-finalizationregistry-available-function-function-a-1-node-v24-18-0-90f3411c79b2
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, weakref

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 } ].
