await-non-async.out 182 Bytes
Newer Older
1 2 3 4
*%(basename)s:5: SyntaxError: await is only valid in async function
function f() { await Promise.resolve(); }
               ^^^^^
SyntaxError: await is only valid in async function