Understanding new in JavaScript (Without Confusion)
At first, new looks like just another keyword.
But it actually does a lot behind the scenes when creating objects.
What the new keyword does
The new keyword is used to create objects from a construct
kumar-rishabh.hashnode.dev2 min read