The last article about memory management in Javascript to rule them allThe JavaScript engine handles this for you. The engine allocates memory during initialization and frees it up once we don't need it anymore. However, this automaticity is a potential source of confusion: it can give developers the false impression th...Sep 30, 2023路7 min read
Understanding React Event Handling and Preventing Infinite Loops- Too many re-renders ErrorAug 2, 2023路2 min read
Going Beyond Abstraction layers of native behaviour to grow as a new devYou are a new dev and focussing solely on delivering your task, but have you ever wondered what lies beneath the abstraction layer of your codebase? Sure, it may seem tempting to stick to the comfort of the abstraction layer, relying solely on the pr...May 21, 2023路3 min read
Deep dive:- Conversion of Javascript code into machine code by JavaScript EnginEThis article is written as part of the series where I am writing the whole process of how Javascript files are executed by browsers. This is the second article. The first article is here. The JS engine executes JS code. Every browser as well as node....Sep 29, 2022路3 min read
JavaScript Interview Preparation Cheat-Sheet: Execution context, call stack, creation phaseHave you ever wondered what happens internally when you execute your JavaScript code on a browser console or node.js environment? Let's find it out. By the end of this article, you will have enough idea of topics like execution context, call stack, v...Sep 11, 2022路6 min read
Scope chain, Lexical scope & this keyword.If you are not aware of how call stack works, you should definitely check out this article before moving ahead. In this article, I have broken down what exactly happens during the creation phase of the execution context. Each Execution context has th...Sep 11, 2022路6 min read
The one article about Hoisting to rule them all.This article is written as part of the series where I am writing the whole process of how Javascript files are executed by browsers. You can find the whole list of articles in order at the bottom of this article. The literal definition of Hoisting Mo...Sep 10, 2022路4 min read
Here is Your Complete Guide about JS Array : part -2In this part, I will cover most important instance methods of JS arrays. Add elements to Array Array.prototype.push() it adds element at the end of array and returns new length of array. const arr = [1,2,3]; console.log(arr.push(5,6)); //output:...Aug 27, 2022路2 min read