Description
Input
The code looked like this before beautification:
class Even {
static [Symbol.hasInstance](num) {
return Number(num) % 2 == 1
}
}
console.log("123" instanceof Even) // true
console.log("1230" instanceof Even) // false
Expected Output
The code should have looked like this after beautification:
class Even {
static [Symbol.hasInstance](num) {
return Number(num) % 2 == 1
}
}
console.log("123" instanceof Even) // true
console.log("1230" instanceof Even) // false
Actual Output
The code actually looked like this after beautification:
class Even {
static[Symbol.hasInstance](num) {
return Number(num) % 2 == 1
}
}
console.log("123"
instanceof Even) // true
console.log("1230"
instanceof Even) // false
Steps to Reproduce
Environment
OS: windows / web / mdformat-web
Description
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
Environment
OS: windows / web / mdformat-web