MKMohit Kumarinimohit1o1.hashnode.dev00The new Keyword in JavaScript4d ago · 6 min read · Naya object banao, prototype connect karo, this bind karo — yeh teen kaam ek saath You've seen new. const date = new Date(); const error = new Error("Oops"); const arr = new Array(5); But what does nJoin discussion
AKAshaaf Khaninashaaf.hashnode.dev00The new Keyword: JavaScript’s Object FactoryMay 7 · 4 min read · In JavaScript, creating one or two objects by hand is easy. But what happens when you need to create hundreds of "Users", "Products" or "Game Characters"? Manually typing out { name: "...", age: "..."Join discussion
AYAbhishek Yadavinterminal-thoughts.hashnode.dev00The new Keyword in JavaScript: The Magic Behind Object CreationApr 23 · 4 min read · In the world of JavaScript, we often need to create multiple objects that share the same structure as hundreds of "User" profiles or thousands of "Product" cards. While you could manually type out eacJoin discussion
CCChetan Chauhaninchetan71.hashnode.dev00The new Keyword in JavaScriptApr 18 · 7 min read · The Problem new Solves Suppose you need to create multiple user objects: const user1 = { name: "Aarav", age: 25, role: "admin" }; const user2 = { name: "Priya", age: 22, role: "member" }; const userJoin discussion
HSHappy singh negiinhappysinghnegi.hashnode.dev00new keyword in javaScriptApr 15 · 3 min read · The new keyword in javaScript is a core and important concept for interview perspective and also to understand js behaviour most of the beginner does not study the behaviour of new keyword. What does Join discussion
JDJyoti Dwivediinjs-learn-fun.hashnode.dev00The new Keyword in JavaScriptApr 13 · 10 min read · The Cookie Cutter Moment 🍪 Last Diwali, my little cousin asked me to help make cookies. She handed me a star-shaped cookie cutter and said, "Make a hundred of these." I pressed the cutter into the doJoin discussion
DDivakarindivakar29.hashnode.dev00The 'new' keyword in JavaScriptApr 11 · 4 min read · If you are a software developer or student of software then you have definitely seen 'new' keyword. I am aware of Javascript and Java both have this keyword but in this blog we are going to understandJoin discussion
KSKanishka Shashiinjavasblog.hashnode.dev00The new Keyword in JavaScriptApr 4 · 4 min read · When you start working with objects in JavaScript, you’ll often see the keyword new. It looks simple—but behind the scenes, it does a lot of important work. In this blog, we’ll understand: What the nJoin discussion
MSManpreet Singhinmanpreet006.hashnode.dev00The new Keyword and Constructor Functions in JavaScriptMar 26 · 3 min read · When learning JavaScript, we often create objects using object literals. However, when we need to create multiple objects with the same structure, JavaScript provides a better approach using constructJoin discussion
JMJanardan Mondalinjanardanm.hashnode.dev00The new Keyword in JavaScriptMar 23 · 3 min read · JavaScript give us a multiple way to create object, but one of the most important way is to use new keyword . If you have ever use constructor or classes, you have already used new keyword. But what eJoin discussion