3 ms·
There's more than just those edge-cases, but the others are rare in practice. They include +, -, `, < (JSX), ::, / (regex) and maybe a few others. There's also
by rattray 9y ago
There's more than just those edge-cases, but the others are rare in practice. They include +, -, `, < (JSX), ::, / (regex) and maybe a few others.
There's also some odd ASI issues within class bodies.
https://github.com/prettier/prettier/pull/1129 https://github.com/prettier/prettier/pull/1129 can be a useful reference (and tool!)