SSantrainblog-santra.hashnode.dev·May 6 · 6 min readThe new Keyword in JavaScriptMost JavaScript developers use new early on -new Date(), new Map(), new Promise() without thinking much about what's actually happening. It works, so you move on. But new is doing quite a bit of work 00
AYAbhishek Yadavinterminal-thoughts.hashnode.dev·Apr 23 · 4 min readThe new Keyword in JavaScript: The Magic Behind Object CreationIn 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 eac00
JVJanardhan Vermainjavascript-oop.hashnode.dev·Mar 26 · 5 min readUnderstanding the new Keyword in JavaScriptToday let's start with an example. function Student(name, standard, age) { this.name = name; this.standard = standard; this.age = age; } Here we have a blueprint for creating student obje00