The new Keyword in JavaScript
What the new keyword does?
The new keyword in javascript is used to create an instance of an object from a constructor function.
When you use the new keyword, 4 things happen:
Creates an empty object
dt89.hashnode.dev3 min read