CJChirag Jaipalinchiragjaipal.hashnode.dev·Apr 21 · 8 min readArray Flattening in JavaScript: From Messy Nests to Clean ListsYou've seen those Russian nesting dolls, right? You open one, there's another one inside. You open that one, there's yet another one inside. It's cute as a toy but imagine if your data looked like tha00
CJChirag Jaipalinchiragjaipal.hashnode.dev·Apr 21 · 8 min readJavaScript Modules Explained (Import & Export Made Simple for Beginners)Imagine this… You are building a simple project. Nothing fancy. Just a few features.You write some code in one file. Then a little more… Then a little more…And suddenly, your file looks like this: app00
CJChirag Jaipalinchiragjaipal.hashnode.dev·Mar 21 · 4 min readSerialization vs Deserialization in JavaScriptWhen I first came across the term Serialization in a backend lecture, it immediately sounded like something complex and heavy to me. The instructor mentioned that when we send data using res.json(), w00
CJChirag Jaipalinchiragjaipal.hashnode.dev·Mar 19 · 5 min readHTMLCollection vs NodeList in JavaScriptIf you have ever worked with the DOM in JavaScript, you must have come across two terms: HTMLCollection NodeList At first glance, they look almost the same, both are collections of elements. But u00
CJChirag Jaipalinchiragjaipal.hashnode.dev·Mar 15 · 13 min readThe Magic of this, call(), apply(), and bind() in JavaScriptIn the previous article, we explored Object-Oriented Programming (OOP) in JavaScript and learned how classes allow us to create objects with properties and methods. For example, if you remember we cre00