employer cover photo
employer logo
employer logo

VectoScalar Technologies

Questa è la tua azienda?

Domanda di colloquio di VectoScalar Technologies

what are promises in javascript?

Risposta di colloquio

Anonimo

21 giu 2024

In JavaScript, promises are a way to handle asynchronous operations. They represent a value that may be available now, in the future, or never. Promises can be in one of three states: Pending: Initial state, neither fulfilled nor rejected. Fulfilled: The operation completed successfully. Rejected: The operation failed.