@giise await is a reserved word
usually happens when you use await
in a function that is not marked as async
For example, this will work:
async function asyncCall() {
await resolveAfter2Seconds();
}
But this will not work:
function asyncCall() {
await resolveAfter2Seconds();
}