What Really Happens When You Use new?
What the new keyword does
When you create a new instance with the new keyword, a brand new empty object {} is created.
In JavaScript, every function has a prototype. Even objects themselves have a p
blog.portfoliohub.in2 min read