Hitesh Venugopalanwatch-me-dev.hashnode.dev·Nov 11, 2024Sync vs Async: A Code-Off!Since I already have some knowledge about basic HTML, CSS, and JavaScript, I decided to begin with Asynchronous and Synchronous JavaScript .Let me share what I’ve learnt! Synchronous Code Synchronous code is JavaScript that executes line by line in ...Discuss·3 likes·46 readsJavaScript
gayatri kumargeekee.hashnode.dev·Nov 8, 2024Mastering the Art of Async: Let’s Get Moving!Why Go Async? Imagine you’re racing a car, but every time your car needs a pit stop, the entire race pauses until it’s finished. This wouldn’t make sense! In a race, every car runs independently, so one car’s pit stop doesn’t stop others. Asynchronou...Saanvi Kumar and 2 others are discussing this3 people are discussing thisDiscuss·50 likesWeb Developmentjs
David Gostindgostin.hashnode.dev·Nov 7, 2024Asynchronous Programming in JavascriptHere are some examples of asynchronous programming in JavaScript using callbacks, Promises, and async/await. 1. Using Callbacks A callback is a function passed as an argument to another function, which is then executed after some operation completes....Discussasynchronous JavaScript
Shikhar Shuklashikhar99.hashnode.dev·Nov 6, 2024JavaScript Promises Explained: The Easiest Guide You’ll Ever Need!Introduction Promises in JavaScript can feel a bit like magic—but once you get the hang of them, they’re incredibly useful! In this guide, we’ll break down JavaScript promises in a way that’s easy to understand and remember. By the end, you’ll have a...Discuss·34 readsJavaScript
Darshit Anjariadarshitanjaria.hashnode.dev·Oct 28, 2024How JavaScript Handles Concurrent Requests Despite Being Single-Threaded: The Magic Behind the ScenesIntroduction JavaScript is known as a single-threaded language, meaning it can only execute one task at a time. However, despite this limitation, JavaScript can handle multiple asynchronous operations efficiently, such as fetching data from an API or...DiscussJavaScript
Mohan Chanduasync-js-callbacks-to-the-promises.hashnode.dev·Oct 22, 2024Asynchronous JavascriptCallbacks are the functions that are passed as an argument to another function and they are executed after some operation has been completed. callbacks are used to handle asynchronous operations. function add(callback){ let a=5; let b=10; ...Discussasynchronous JavaScript
Abhishek Reddyblog-on-async-javascript.hashnode.dev·Oct 22, 2024Asynchronous JavaScriptCall Backs : What is a callback ? : A callback is a function which is passed as an argument/parameter to another function.So the function which takes another function as an argument/parameter is known as Higher Order functions. example: function sumO...DiscussGeneral Programming
Saurabh Kumargit-and-github.hashnode.dev·Oct 22, 2024Async JS: Callbacks to PromisesAsynchronous JavaScript (Async JS) is important in today's web development. It lets developers run long tasks without stopping the main thread, keeping the user experience smooth. This blog post will look at two common ways to handle asynchronous tas...DiscussGeneral Programming
ganesh vcallbackandpromise.hashnode.dev·Oct 22, 2024A Guide to Async JavaScript: Mastering Callbacks and PromisesAs a fellow geek, I'm excited to share my insights into Asynchronous JavaScript with other enthusiasts and aspiring JavaScript beginners. In this blog, we'll delve into everything from the fundamentals to advanced concepts of asynchronous JavaScript,...Discusscallback
Akash Pramodasyncjavascript.hashnode.dev·Oct 21, 2024Async JS : callback to promiseHello my coding friends ! How are you ? Are you enjoying the coding in JS ? Ummm, Yes or No ? Are you stuck ? Where ? Let me think ummm, asynchronous callbacks and promises, right ? Don't worry , it's not a big thing. Every beginner stuck in this par...Discussasynchronous JavaScript