Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Priority of ! negation operator #31

Open
ruscoder opened this issue Jul 13, 2023 · 2 comments
Open

Priority of ! negation operator #31

ruscoder opened this issue Jul 13, 2023 · 2 comments
Labels

Comments

@ruscoder
Copy link

I encountered to the bug with unobvious priority of negation operator, please take a look

example:
  b: $ (!true) && false # => false
  c: $ !true && false # => true

It will lead to issues for everyone

@ruscoder
Copy link
Author

In js:

(!true) && false // false
!true && false // false

@ruscoder ruscoder added the bug label Jul 13, 2023
@ruscoder
Copy link
Author

Any updates here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant