employer cover photo
employer logo
employer logo

VectoScalar Technologies

Est-ce votre entreprise ?

Question d’entretien chez VectoScalar Technologies

what are promises in javascript?

Réponse à la question d'entretien

Utilisateur anonyme

21 juin 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.