Files
test-repo/changelog_unreleased/javascript/18669.md
T

353 B

Fix inconsistent comment attach between NewExpression and CallExpression (#18669 by @fisker)

// Input
foo( // comment
  bar
);
new Foo( // comment
  bar
);

// Prettier stable
foo(
  // comment
  bar,
);
new Foo(bar); // comment

// Prettier main
foo(
  // comment
  bar,
);
new Foo(
  // comment
  bar,
);