Files
test-repo/tests/format/js/assignment-expression/comments/function.js
T
2026-09-11 17:15:23 +08:00

62 lines
498 B
JavaScript

f1 = (
a =
//comment
b
) => {};
f2 = (
a = //comment
b
) => {};
f3 = (
a =
b //comment
) => {};
f4 = // Comment
() => {};
f5 =
// Comment
() => {}
f6 = /* comment */
// Comment
() => {}
let f1 = (
a =
//comment
b
) => {};
let f2 = (
a = //comment
b
) => {};
let f3 = (
a =
b //comment
) => {};
let f4 = // Comment
() => {};
let f5 =
// Comment
() => {}
let f6 = /* comment */
// Comment
() => {}