The new Keyword in JavaScript:
What the new keyword does :
A new keyword is used to create a new object from the constructor class or function.
When this line runs:
const user1 = new Person("Vishal", 21);
When we use the new key
keyword1.hashnode.dev3 min read