Q. What will be the result of await Promise.reject('error') in async function?
β
Correct Answer: (A)
Unhandled rejection error
Explanation: The error must be caught or it results in an unhandled rejection.