InterviewSolution
Saved Bookmarks
| 1. |
What is Promises in Node JS? |
|
Answer» It is a RETURNED VALUE by an asynchronous FUNCTION to indicate the COMPLETION of the processing carried out by the function. Examplevar promise = doSomethingAync() promise.then(onFulfilled, onRejected) |
|