Savneet Kaursavneet.hashnode.dev·Apr 20, 2024Exploring the Concept of Asynchronous JavaScriptHow does JavaScript execute the code? JavaScript is a single-threaded programming language. This means that it can execute only one piece of code at a time. Therefore, if a long-running operation is executing, it will block the execution of any other...DiscussJavaScript
Gaurav Aggarwalaggarwalgaurav1012.hashnode.dev·Apr 20, 2024Asynchronous JavaScriptAsynchronous programming is an essential concept in JavaScript that allows your code to run in the background without blocking the execution of other code. Developers can create more efficient and responsive applications by using features like callba...Discussasynchronous
Shweta Roydevroy.hashnode.dev·Apr 6, 2024Data Structures Used In BrowsersAs we all know, JavaScript is a single-threaded language. If there is simple synchronous code then code execution happens one after the other and it's all a piece of cake. In reality however, we often find ourselves dealing with asynchronous events a...Discuss·2 likes·54 readsJavaScript
AMAN MALIKbluepaper.hashnode.dev·Mar 31, 2024Today on Js ( 1 - 31/03/24)JS Execution context There are two types of JS execution context Global execution context Function execution context Eval execution context ( won't go in-depth here) Global Execution context the global execution context is different for every en...DiscussJavaScript
Gaurav Goswamigauravgoswami.hashnode.dev·Mar 31, 2024How JavaScript works??? 🤔💭When I started my journey with JavaScript I used to think about how things work under the hood, why the setTimeout code runs after the synchronous code, how is it even possible to call a function even before declaring it, and why do we get errors if ...Discuss·1 like·102 readsjsworking
Murali Singhmuralisingh.hashnode.dev·Mar 28, 2024Understanding the inner workings of JavaScript : From call stack to event loopWhen a JavaScript file is executed, the code is parsed line by line. Whenever a function call is encountered, an execution context is created, and the function call is pushed onto the call stack. This includes both built-in functions like console.log...Discuss·1 likeJavaScript
Piyushpiyush05.hashnode.dev·Feb 12, 2024Important JavaScript topics :In this blog we are going to learn about some most important topics of JavaScript before diving into the topics lets discuss about what is JavaScript : JavaScript is a high-level, interpreted programming language that enables developers to create d...Discuss·1 likeJavaScript
Saurav Bhartisauravbharti021.hashnode.dev·Feb 12, 2024Asynchronous nature of JavascriptKey points on how Javascript code work? Whenever a javascript function gets called it goes into call stack and depending on what kind of function it is, it gets processed further. The concept that call stack follows is Last In First Out (LIFO), so ...Discuss·29 readsJavaScript
Suriya Tasmim Dishablog.suriyadisha.com·Feb 4, 2024JavaScript 101: A Beginner's Guide To The Call StackA Call Stack is a mechanism for the interpreter to keep track of which function is running right now and which function needs to run next. JavaScript is a single-threaded programming language. That means it can do one thing at a time and has only one...Discuss·73 readsJavaScript
Gautham R Vanjregautham10.hashnode.dev·Jan 26, 2024Behind the Scenes: Understanding JavaScript Code ExecutionIntroduction In the fast-paced world of web development, understanding how JavaScript code is executed is crucial. This article will take you on a journey behind the scenes, unravelling the mysteries of the JavaScript code execution process. By the e...Discuss·1 likeJavaScript