sathwikreddy GVsathwikreddygv.blog·May 5, 2024WTF is an event loop in JavascriptYou probably already know that JavaScript is a single-threaded language as you read this blog. However, JavaScript can carry out asynchronous actions that may appear to be occurring in parallel. JavaScript accomplishes this with the assistance of som...Discuss·42 readsJavaScript
Muskan KananiforMuskan Kananimuskankanani1103.hashnode.dev·Apr 28, 2024Uncovering the JavaScript Event Loop: An introductory manualThe event loop in JavaScript is a vital component that guarantees code execution and drives the language’s asynchronous nature. Every JavaScript developer needs to be aware of how the event loop operates. We’ll go into great detail about the event l...Discuss·1 likeJavaScript
Anjaliwhatanjali.hashnode.dev·Apr 28, 2024How NodeJS Works?Hello Devs👋, We all know that NodeJS is neither a programming language nor a framework, it goes beyond that. NodeJS is a Javascript runtime environment built on Chrome's V8 javascript engine. It is lightweight, fast and data-intensive. It also consi...Discusshownodejsworks
Atanu Sarkardisciple.hashnode.dev·Apr 26, 2024The Timer is set. Now what?The following piece covers the basics of "timers" in JS. One can view it as a baby step towards async programming. Enjoy 🤗 Time out The setTimeout() function's purpose is to postpone the call to a function (callback), with the delay specified in mil...DiscussJavaScript
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
Malay Tiwarilinuxwithmalay.hashnode.dev·Apr 9, 2024Internal Working Of NodejsNode.js, a powerful runtime environment for executing JavaScript code server-side, is renowned for its efficiency and scalability. At its core, Node.js comprises two major components: the V8 engine and LibUV. Components of Node.js: An In-Depth Look ...DiscussNode.js
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·51 readsJavaScript
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·115 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