On this page
  1. Reflect.construct
  2. Signature & Overview
  3. Notes & Pitfalls
  4. Example

Reflect.construct

Prev: get | Up: Reflect | Next: Intl
Rel: Reflect, Object & Reflect Guide
Ref: MDN Web Docs — Reflect.construct
Tags: #public #web #javascript #builtins #reflect #tier/specialized


Signature & Overview

Reflect.construct(target, args, newTarget?)

Invokes a constructor like new target(...args) while optionally customizing new.target.

Notes & Pitfalls

Example

const d = Reflect.construct(Date, ["2026-12-02T00:00:00Z"]);
console.assert(d instanceof Date && d.getUTCFullYear() === 2026);

Linked from

Related notes