What is the purpose of `Promise.resolve()` and `Promise.reject()`? | Promises | javascript Interview Questions | NextRound.in