407 B
407 B
Keep trailing comments inside the parentheses of a sequence or assignment expression (#19263 by @sarathfrancis90)
// Input
const x = (a, b, c /* comment */);
const y = (a = b /* comment */);
// Prettier stable
const x = (a, b, c) /* comment */;
const y = (a = b) /* comment */;
// Prettier main
const x = (a, b, c /* comment */);
const y = (a = b /* comment */);