Files
test-repo/changelog_unreleased/javascript/pr-8160.md
T

419 B
Raw Blame History

Keep object key with escape sequence as it is (#8160 by @fisker)

// Input
const a = {
  "\u2139": 'why "\\u2139" converted to "i"?',
};

// Prettier stable
const a = {
  ℹ: 'why "\\u2139" converted to "i"?',
};


// Prettier master
const a = {
  "\u2139": 'why "\\u2139" is converted to "i"?',
};