Skip to content

Glossary: Software Design Patterns in JavaScript

new.target

Inside a constructor, the class that new was called on. The parent Report uses it to refuse being built directly.

Where the book teaches it

Related terms

Abstract class