Understanding the new Keyword in JavaScript (Beginner-Friendly Guide)
1. A Simple Real-World Problem
You’re building a user system.
You need to create multiple users like this:
const user1 = { name: "Aman", age: 21 };
const user2 = { name: "Rahul", age: 22 };
This work
aman-kumar.hashnode.dev4 min read