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.
Glossary: Software Design Patterns in JavaScript
Inside a constructor, the class that new was called on. The parent Report uses it to refuse being built directly.