Skip to content

Commit 4b79231

Browse files
committed
param
1 parent 8faf06e commit 4b79231

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/cases/await.js

+5
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ const complexAwaited = () => {
2222

2323
const y = await (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + complexAwaited());
2424
console.info(y);
25+
26+
const asyncInlineMethod = async (x = 123) => {
27+
console.info('long fn expr');
28+
await 123; // force await check
29+
};

0 commit comments

Comments
 (0)