Hard
What is the output of the following asynchronous code?
1async function fetchData() {2 return new Promise((resolve, reject) => {3 setTimeout(() => resolve("Data fetched"), 1000);4 });5}67const processData = async () => {8 console.log("Processing started");9 const result = fetchData();10 console.log("Processing ongoing...");11 return result;12};1314processData().then(console.log);