Geotab interview question

What are Promises in JavaScript ?

Interview Answer

Anonymous

22 Apr 2025

Promises in JavaScript represent the eventual completion or failure of an asynchronous operation. A promise can be in one of three states: Pending Fulfilled Rejected