This repository was archived by the owner on Mar 22, 2025. It is now read-only.
This repository was archived by the owner on Mar 22, 2025. It is now read-only.
(JS-0242) Use const
declarations for variables that are never reassigned #2
Open
Description
Description
Variables that are never re-assigned a new value after their initial declaration should be declared with the const
keyword. This prevents the programmer from erroneously re-assigning to a read-only variable, and informs those reading the code that a variable is a constant value.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/IntegerAlex/efficient-sorting/issue/JS-0242/occurrences/
Metadata
Metadata
Assignees
Labels
No labels