Empty block statements, while not technically errors, usually occur due to refactoring that wasn't completed. They can cause confusion when reading code and add unnecessary lines to the codebase. <!--more--> ## Examples ### Bad practice ```js if (someCheck) { } while (someCheck) { } switch(someCheck) { } try { doSomething(); …
Occurrences
There is 1 occurrence of this issue in the repository.
Description
Empty block statements, while not technically errors, usually occur due to refactoring that wasn't completed. They can cause confusion when reading code and add unnecessary lines to the codebase. <!--more--> ## Examples ### Bad practice ```js if (someCheck) { } while (someCheck) { } switch(someCheck) { } try { doSomething(); …
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/CIDARLAB/3DuF/issue/JS-0009/occurrences/