The new Keyword in JavaScript
Mar 25 · 8 min read · What the new keyword does
The new keyword in JavaScript is an operator used to create an instance of a user-defined object type (such as a constructor function or a class).
When called with a functio