Medium
What will the following async/await code log?
1async function fetchData() {2 try {3 const response = await Promise.reject("Error occurred");4 console.log(response);5 } catch (error) {6 console.log("Caught:", error);7 }8}910fetchData();