The new Keyword in JavaScript
What the new keyword does?
When you use new with a function, JavaScript performs a series of internal steps:
Creates a new empty object
Links that object to a prototype
Binds this to the new object
skullcoder.hashnode.dev1 min read