Pergunta de entrevista da empresa Cellcom (Israel)

explain what is promise in JS?

Resposta da entrevista

Sigiloso

7 de nov. de 2024

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.