Score: 0 / 0 answered
Progress: 0 of 1219 qs
time elap: 00:00
Question 1: What is the output of the following code snippet?
async function example() {
let result = await Promise.reject('Error');
console.log(result);
}
example().catch(error => console.log('Caught:', error));