in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c
What will the following code output?
async function fetchData() {
try {
let result = await Promise.reject('Error!');
console.log(result);
} catch (error) {
console.log('Caught:', error);
}
}
fetchData();
1 - 0
Thank you all for helping us reach 100 subscribers on YouTube! ❤️
Your support means the world to us. Stay tuned!
2 - 4
It's a small world :)