waldothedeveloper / lullabyhouse

At Lullaby House, we provide a wide range of cleaning services to help you keep your home clean and tidy.
Other
1 stars 0 forks source link

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

Closed waldothedeveloper closed 1 year ago

waldothedeveloper commented 1 year ago

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 5 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/waldothedeveloper/lullabyhouse/issue/JS-0083/occurrences/