Mastering Promises in JavaScript:
The promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.
A Promise is in one of these states:
pending: initial state, neither fulfilled nor rejected.
fulfilled: meaning that the operat...
shivraj9392.hashnode.dev3 min read