Skip to content

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

@MrSuddenJoy

Description

@MrSuddenJoy

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeepSourceIssue created with/by DeepSource appMetaThis is to indicate that issue/PR is sort-of container for other things (with same subject)bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions