Files
test-repo/changelog_unreleased/javascript/19262.md
T
2026-06-03 02:25:48 +08:00

297 B

Fix unstable comment in arrow function with assignment expression body (#19262 by @itsybitsybootsy)

// Input
const fn = () => (a = b /* abc */);

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

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