A promise in JavaScript can be resolved if the code execution completed as expected, or it can be rejected if there are any errors. When using async await, you may be awaiting a promise, but if something goes wrong, then you may get an ‘Unhandled Promise Rejection’ error. This happens because each promise rejection needs… Continue reading How to handle promise rejections in Async Await