MrSuddenJoy / 4programmers.net

Coyote
https://4programmers.net
MIT License
0 stars 1 forks source link

(JS-0045) Either all code paths should have explicit returns, or none of them #45

Open MrSuddenJoy opened 3 months ago

MrSuddenJoy commented 3 months ago

Description

Any code paths that do not have explicit returns will return undefined. It is recommended to replace any implicit dead-ends that return undefined with a return null statement.

Occurrences

There are 8 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/MrSuddenJoy/4programmers.net/issue/JS-0045/occurrences/