The new Keyword in JavaScript: A Complete Beginner-Friendly Guide
If you've ever seen code like this:
function Person(name) {
this.name = name;
}
const user = new Person("Sayantan");
You might have wondered — what exactly does new do here?
This article will brea
blogs.sayantanbal.in3 min read