It is a returned value by an asynchronous function to indicate the completion of the processing carried out by the function.

BY Best Interview Question ON 13 Jan 2019

Example

var promise = doSomethingAync()

promise.then(onFulfilled, onRejected)

Suggest An Answer