Jul 2, 2025 · 4 min read · What is a Promise? A Promise is a built-in JavaScript object that represents the eventual completion (or failure) of an asynchronous operation and its resulting value. In simple words, a Promise is something that promises to do a task and lets you ha...
Join discussionMay 5, 2025 · 3 min read · Hello Amigos, Welcome to my blog. Today’s topic is a resolve property in the angular router. Somany times we face this issue like our HTML gets rendered before our data is loaded. Due to this sometimes we may have got n error like ‘undefined data pro...
Join discussion
Apr 27, 2025 · 1 min read · *Allow - глобальная переменная, содержащая разрешенные шаблоны доступа. Если ее значение не равно NIL, она должна содержать список, где CAR — это дерево idx разрешенных элементов, а CDR — список префиксных строк. : *Allow -> (("!start" ("!psh") "!sto...
Join discussionDec 25, 2023 · 2 min read · console.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)...
Join discussionAug 18, 2022 · 3 min read · 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...
Join discussion