Md Mafiz Uddinblog.mafiz.tech·Apr 20, 2024JavaScript Callbacks and Promises (Async Evolution)JavaScript Callbacks (why fear?) Every JavaScript beginner will face this question at least once: "What is a callback function?" Well, we can find the answer in the word callback itself. It's all about notifying the caller after the successful comple...DiscussJavaScript
Vijaya Shreevijayashree.hashnode.dev·Mar 28, 2024Promises in JavaScriptPromises will perform asynchronous operations. They were not always part of JavaScript. Callbacks worked together with asynchronous functions to produce desired results in the past. A callback is any function that is a parameter of an async function,...DiscussJavascript Promises
Ravi Kumarravikr126.hashnode.dev·Mar 4, 2024Let's explain Promises for 5-year-old child who can easily understand the concept.Imagine you have a friend, Timmy, who agrees to share his toy car with you tomorrow. A promise in programming is similar to that; it allows your code to say, "Hey, I'm going to do something, and when I'm done, I'll let you know." In this case, playGa...DiscussJavaScript
ismail abu almagdcodenuggets.hashnode.dev·Feb 29, 2024What's Promises in JavaScript?The promise it is object represents the finalizing of asynchronous operation whether it's a success or failure with its result, in simple words the promise is a proxy to handle asynchronous operation like fetching data. As diagram Promise have 3 sta...DiscussJavascript Promises
raj ranarajrana.hashnode.dev·Feb 27, 2024Implementing a Promise.all Polyfill for Javascript InterviewsIntroduction In this blog post, we'll walk through the step-by-step implementation of a polyfill for the Promise.all method in JavaScript. This polyfill allows developers to use Promise.all in environments where it is not natively supported, ensuring...DiscussJavaScript
Raju Beparyrajubepary.hashnode.dev·Feb 17, 2024Building a Simple Promise Implementation in JavaScriptIntroduction Promises are a fundamental concept in modern JavaScript, providing a clean and efficient way to handle asynchronous operations. This article will explore the inner workings of a simple Promise implementation in JavaScript. The provided c...DiscussJavaScript
Sanjanasancodes.hashnode.dev·Feb 15, 2024JavaScript Essentials: Breaking Down Closures and Asynchronous Programming for BeginnersHello there, fellow coding enthusiasts! Welcome to our exploration of JavaScript! In this journey, we'll be delving into two crucial concepts: closures and asynchronous programming. Are you excited to learn about how JavaScript works behind the scene...Discuss·1 like·77 readsJavaScript
Narenthera Prasanthiamnaren.hashnode.dev·Feb 12, 2024JavaScript PromisesA JavaScript Promise is an object representing the eventual completion or failure of an asynchronous operation. It allows you to handle asynchronous operations more elegantly and provides a way to perform tasks asynchronously and handle their results...Discuss·1 like·27 readsJavaScript
Yadvir Kauryadvirkaur.hashnode.dev·Jan 23, 2024Understanding Asynchronous JavaScript: From Callbacks to promises and async/awaitIntroduction JavaScript is inherently synchronous and single-threaded, executing code line by line. However, when dealing with time-consuming tasks like fetching data or making requests, this synchronous nature can lead to delays. Asynchronous progra...Discuss·33 readsJavaScript
Mmek-Abasi Ekontechwithekon.hashnode.dev·Jan 18, 2024Asynchronous JavaScript - A Practical Guide to Callbacks, Promises, and Async/AwaitHave you ever struggled to navigate a website because it loaded slowly? This means that the website was not responsive. To address such issues, one of the methods developers incorporate into their coding practice is asynchronous programming. In this ...Discuss·28 readsAjax