The new Keyword in JavaScript
In JavaScript, objects can be created in multiple ways.
One powerful way is to use the:
new
keyword.
The new keyword is commonly used with:
Constructor functions
Classes
Object creation patterns
blogs.abhishekdogra.in5 min read