Back to Prettier

19253

changelog_unreleased/javascript/19253.md

3.9.0300 B
Original Source

Fix unstable comment in arrow function with sequence expression body (#19253 by @itsybitsybootsy)

<!-- prettier-ignore -->
jsx
// Input
const fn = () => (a, b, c /* abc */);

// Prettier stable
const fn = () => (a, b, c) /* abc */;

// Prettier main
const fn = () => (a, b, c /* abc */);