Clicking "Tidy" breaks JavaScript code if it contains ?.
Before formatting:
const a = { b: 3 }
console.log(a?.b)
After formatting:
const a = {
b: 3
}
console.log(a ? .b)
Clicking "Tidy" breaks JavaScript code if it contains ?.
Before formatting:
const a = { b: 3 }
console.log(a?.b)
After formatting:
const a = {
b: 3
}
console.log(a ? .b)