Javascript Promises
A Promise is an object which is used to find out if the asynchronous operation is completed or not.
The Promise object has two properties: state and result.
State:
pending: initial state, neither fulfilled nor rejected.
fulfilled: meaning that the ...
bobby-sadhwani.hashnode.dev6 min read