Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Bad code gen for and / or expressions
Key details
Description
This code should evaluate to true:
But the JavaScript generated evidently needs some extra parenthesis:
Another confirmation of the defect is the fact that this incorrectly returns true:
This code should evaluate to
true
:But the JavaScript generated evidently needs some extra parenthesis:
Another confirmation of the defect is the fact that this incorrectly returns
true
:You can work around the defect with