Skip to content
JS
JavaScript error

TypeError

The JavaScript exception "calling a builtin X constructor without new is forbidden" occurs when you try to call a builtin constructor without using the new keyword. All modern constructors, such as Promise and Map, must be called with new.

Reference entryJavaScriptFetched
TypeError: Constructor X requires 'new' (V8-based)
As listed by MDN Web Docs
TypeError: Promise constructor cannot be invoked without 'new' (V8-based)
As listed by MDN Web Docs
TypeError: calling a builtin X constructor without new is forbidden (Firefox)
As listed by MDN Web Docs
TypeError: calling X constructor without new is invalid (Safari)
As listed by MDN Web Docs
Category
TypeError
Severity
error
Runtime
both
or press Cmd/Ctrl + Enter. The text is only sent to this site to match it.
Source: MDN Web Docs. Data fetched 2026-09-25T01:48:37.273Z.