Mastering JavaScript: Demystifying new keywordIn this article we will learn what the new keyword does when we use them. Let's say you want to create an user object which also consists of some util functions, since these are common function we need only single copy of it in memory, to achieve thi...Sep 21, 2024 · 3 min readsanjaykvarma.hashnode.dev
Mastering JavaScript: Unveiling the Power of the Prototype PropertyLet's begin by first understanding why proto property is needed in JavaScript before deep diving into world of proto property. Imagine you have naive game where we counting the number of time a button is clicked in a limited time and winner is with m...Aug 5, 2024 · 3 min readsanjaykvarma.hashnode.dev