explain what is promise in JS?
Sigiloso
1. what is promise in js In JavaScript, a Promise is an object that represents the eventual completion (or failure) of an asynchronous operation and its resulting value. Think of it as a placeholder for a value that you don't have yet but will at some point in the future.