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

(JS-0083) Function parameters should not be reassigned #42

Closed
cranberry3148 opened this issue Aug 5, 2022 · 1 comment
Closed

(JS-0083) Function parameters should not be reassigned #42

cranberry3148 opened this issue Aug 5, 2022 · 1 comment

Comments

@cranberry3148
Copy link
Collaborator

Description

Assignment to variables declared as function parameters can be misleading and lead to confusing behavior, as modifying function parameters will also mutate the arguments object. Often, assignment to function parameters is unintended and indicative of a mistake or programmer error.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/FlawCra/FlawCraLIB/issue/JS-0083/occurrences/

@cranberry3148
Copy link
Collaborator Author

fixed by 1a7e16d

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

No branches or pull requests

1 participant