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

Fix comparisons for true/false or numbers #183

Closed
tsolakoua opened this issue Jan 2, 2023 · 0 comments · Fixed by #184 or #189
Closed

Fix comparisons for true/false or numbers #183

tsolakoua opened this issue Jan 2, 2023 · 0 comments · Fixed by #184 or #189

Comments

@tsolakoua
Copy link
Member

The issue is that using == in condition statements may lead to unexpected results, as the variables are automatically cast to be of the same type.

@tsolakoua tsolakoua changed the title Use of ==/!== instead of ===/!=== to compare true/false or Numbers values in condition. Fix comparisons for true/false or numbers in conditions Jan 2, 2023
@tsolakoua tsolakoua changed the title Fix comparisons for true/false or numbers in conditions Fix comparisons for true/false or numbers Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant