You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we have something more user friendly other than syntax error, unexpected token under these kinds of scenarios:
function main() {
var quote = await this.getQuote(); // only produces "Syntax error... unexpected token"
console.log(quote);
}
/\
the correct way (if you didn't catch it):
async function main() {
var quote = await this.getQuote(); // something like: "use of await method without parent method marked async"
console.log(quote);
}
Description
The text was updated successfully, but these errors were encountered:
Options
Description
The text was updated successfully, but these errors were encountered: