When getting the condition from a function call it does break he grammar interpretation. It is being fixed either by using a variable instead of b() or by removing the "a" at the beginning
function b() { }
class A {
static f = () =>
"a"
+ (!b() ? `_${1}` : "")
+ `'${2}'`
}
When getting the condition from a function call it does break he grammar interpretation. It is being fixed either by using a variable instead of b() or by removing the "a" at the beginning