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

[DSBOT via GitLab] (JS-0001) Found assignment operators in conditional expressions #15

Closed
johnsonjh opened this issue Dec 19, 2020 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@johnsonjh
Copy link
Owner

Description

In conditional statements, it is very easy to mistype a comparison operator (such as == or ===) as an assignment operator (such as =). For example : ```js // example code snippet to check if the // value of number is even or not if(number % 2 = 0) { …

Occurrences

There are 0 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/johnsonjh/duma/issue/JS-0001/occurrences/

@johnsonjh johnsonjh self-assigned this Dec 19, 2020
@johnsonjh johnsonjh added the invalid This doesn't seem right label Dec 19, 2020
@johnsonjh
Copy link
Owner Author

Resolved by later commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant