Files
test-repo/changelog_unreleased/javascript/13315-2.md
T
2024-07-26 19:51:00 +08:00

284 B

Fix template literal print with array (#13315 by @fisker, @syi0808)

// Input
const string = `${[[1, 2], [3, 4]]}`

// Prettier stable
const string = `${[
  [1, 2],
  [3, 4],
]}`;

// Prettier main
const string = `${[
  [1, 2],
  [3, 4],
]}`;