KKanishka ShashiJul 27 路 8 min readThe Restaurant That Runs on Promises: A JavaScript Love StoryA Quick Story Before We Begin Imagine you walk into a restaurant called Caf茅 Async. You sit down, and the waiter says: "I promise your food will arrive. It might come out perfectly cooked, or the kit1javasblog.hashnode.dev
AAnil KambarApr 26 路 6 min readUnderstanding Promises in JavaScriptImagine you鈥檙e at a busy burger joint. You place your order, and instead of making you stand at the counter staring at the grill, the cashier hands you a buzzer. That buzzer is a Promise. It representanilkambarweb.hashnode.dev
MMuhammad AsimMar 29 路 10 min readJavaScript Promises From Confusion to ClarityWhat Problem Do Promises Solve? Imagine you're at a restaurant. You place your order, and the waiter says: I'll bring it when it's ready. You don't freeze at the table staring at the kitchen you checkasim093-promises.hashnode.dev
SShraddha LandgeMar 22 路 3 min readJavaScript Promises Explained for BeginnersA Promise in JavaScript is an object that represents a value that will be available in the future. It starts in a waiting state (pending), and later it either gives a result (fulfilled) or shows an er1Aexplorewithshraddha.hashnode.dev
AAnubhav Anand RaiDec 25, 2023 路 2 min readPromises in javascriptconsole.log("Anubhav and javascript"); function passwordchecker(Password){ let prom=new Promise((resolve,reject)=>{ if(Password.length>8) { resolve("yes it is more") } else { reject(" not applicable") } }); prom.then((result) => { console.log(result)...anubhavanand.hashnode.dev
SSagar MedtiyaAug 18, 2022 路 3 min read馃Understanding Promises in JavaScript馃殌What is a Promise馃? By the definition of MDN, The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value. We know that JavaScript is a synchronous programming language but callback functi...blog.sagarmedtiya.com