You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
javascript highlighting breaks when using instanceof with equality, bitwise or arithmetic operators #814
changed the title [-]javascript highlighting breaks when using `instanceof` with equality, bitwise and arithmetic operators[/-][+]javascript highlighting breaks when using `instanceof` with equality, bitwise or arithmetic operators[/+]on Mar 28, 2020
Activity
[-]javascript highlighting breaks when using `instanceof` with equality, bitwise and arithmetic operators[/-][+]javascript highlighting breaks when using `instanceof` with equality, bitwise or arithmetic operators[/+]nrayburn-tech commentedon Mar 28, 2020
It seems that wrapping the comparison values in () fixes the highlighting. (Not a long term solution, but if you wanted it fixed for now.)
pushkine commentedon Mar 28, 2020
you cannot use a formatter with that, you'd need a double negation to keep the parentheses