Abhijeet Karmakarabhijeet15.hashnode.dev·Jul 22, 2024Asynchronous JavaScriptAsynchronous JavaScript JavaScript Code Execution JavaScript engines consist of two main components: the heap and the function call stack. Additionally, there is a callback queue, a microtask queue, web APIs/Node APIs, and the event loop. When JavaSc...Discussasynchronous
Raj Kamblerajkamble21.hashnode.dev·Jul 20, 2024Mastering JavaScript: From Sync to Async and BeyondHow JS executes the code? JavaScript execution involves two main stages: creation and execution. These stages are managed within special environments called execution contexts. 1. Creation Phase (Setting Up the Stage) Global Execution Context (GEC):...Discusspromise
Bhavesh Jadhavbhaveshjadhav.online·Jul 1, 2024FeaturedAsynchronous JavaScript and Event Loops: Unleashing the Superpowers of BrowsersIntroduction to Browser Capabilities Browser is one of the most remarkable creations in the history of mankind. Browsers have the JS engine inside them and they also have the local storage to store some data. They have a timer as well which you can a...Maruf Hossen and 1 other are discussing this2 people are discussing thisDiscuss·52 likes·1.2K readsJavascript BasicsJavaScript
Bhavesh Jadhavbhaveshjadhav.online·May 25, 2024JavaScript Execution Context: Everything You Need to KnowJavaScript is a synchronous, single-threaded language. This might sound complex, but let's break it down to understand what it really means and how it affects the way JavaScript executes code. JavaScript is a synchronous, single-threaded language. Th...Discuss·26 readsJavascript BasicsJavaScript
Yatik Patidaryatikpatidar.hashnode.dev·May 23, 2024"A Deep Dive into JavaScript Asynchronous Programming: Promises, Async/Await, and Callbacks"Javascript JavaScript is a high-level programming language used for web development. It is single-threaded, meaning it can only execute one command at a time, and is interpreted, meaning it is not compiled before execution. V8 is a high-performance J...Discuss·11 likesJavaScript
Shivani Guptashivani914.hashnode.dev·May 23, 2024Exploring the World of Asynchronous JavaScript.Execution of JavaScript Code: Parsing: The JavaScript engine parses the code, breaking it down into tokens and constructing an Abstract Syntax Tree (AST). Compilation and Execution: After parsing, the code is compiled into executable instructions, ...Discuss·10 likesJavaScript
Gaurav Yadavgauravblogss.hashnode.dev·May 23, 2024The JavaScript Paradox: Synchronously Asynchronous"JavaScript is a synchronous, single-threaded language" - a line we have heard numerous times. Let's dive deep into it and understand the duality of JavaScript where it inherently is a synchronous language but can perform operations asynchronously as...Discuss·10 likesJavaScript
Utkarsh Dangarhutkarshdangarh.hashnode.dev·May 5, 2024Understanding JavaScript Execution Context, Functional Execution Context, and Call StackIntroduction JavaScript is a synchronous single threaded language which means It can execute one task at a time in particular order, To manage this execution order and track the state of functions being called, it utilises the concepts of execution c...DiscussJavaScript function execution order
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