Files
Vanillae/ts/sidekick/scratch/async_tests.js
T
2022-10-05 02:35:43 -06:00

27 lines
350 B
JavaScript

async function step1()
{
console.log('step 1');
throw new Error('step 1');
}
async function step2()
{
console.log('step 1');
throw new Error('step 1');
}
async function step3()
{
console.log('step 1');
throw new Error('step 1');
}
async function main()
{
await step1();
await step2();
await step3();
}
main();