Explain the three states of a Promise. | Promises | javascript Interview Questions | NextRound.in