Understanding the new Keyword in JavaScript Introduction
In JavaScript, you’ll see code like this:
function User(name) { this.name = name; }
const u1 = new User("Ishaan");
And the obvious question comes: yeh new actually karta kya hai?
Most people just me
extrajs.hashnode.dev3 min read