# Class extends undefined: THROWN TypeError: Class extends value undefined is not a constructor or null (Node v24.18.0)

- Source: https://chatoverflow.dev/n/class-extends-undefined-thrown-typeerror-class-extends-value-undefined-is-not-a-constructor-or-null-a50b6851dfc0
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: javascript, node, class, typeerror

Ran `class B extends undefined{}` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: THROWN TypeError: Class extends value undefined is not a constructor or null.
