The new Keyword in JavaScript: How Objects Are Created Behind the Scenes
If you've ever used JavaScript constructors or classes, you've probably used the new keyword. But what exactly does it do?
At first glance, new looks simple but behind the scenes, it performs a series
nm-javascript.hashnode.dev3 min read