dhruvan.hashnode.devType Coercion in JS with advanced examplesType coercion in JavaScript is a topic that often confuses developers, especially during interviews where complex examples are used to test the depth of understanding. In this article, we will dive deep into advanced type coercion scenarios, explore ...Feb 10, 2025·6 min read
dhruvan.hashnode.devUnderstanding Recursion: A Journey into the Depths of Problem SolvingIntroduction When I first encountered recursion, it felt like a mysterious spell—a function calling itself? That seemed both powerful and perplexing. I struggled to grasp how recursion worked under the hood, which problems could be solved using it, a...Dec 20, 2024·8 min read
dhruvan.hashnode.devUnderstanding JavaScript Garbage Collection Under the HoodJavaScript, being a high-level programming language, simplifies memory management for developers by automatically allocating and freeing memory through a process called garbage collection (GC). While it seems effortless on the surface, the mechanisms...Dec 9, 2024·5 min read
dhruvan.hashnode.devUnderstanding Memory Allocation in JavaScript: A Comprehensive GuideMemory allocation in JavaScript is a critical aspect of how the language operates under the hood. JavaScript's memory management system involves allocating memory for variables, objects, and functions, and subsequently releasing memory when it is no ...Nov 7, 2024·5 min read
dhruvan.hashnode.dev6 Algorithms Every Developer Should KnowHello, I am Dhruvan. I am a developer, and you should know that I’m a big fan of data structures and algorithms. If you can relate to this, don’t worry; after working on many projects (small and large), I discovered the six important algorithms that ...May 16, 2022·4 min read