Skip to content

(JS-0086) Assignment operators should not be used in return statements #122

@HansEJC

Description

@HansEJC

Description

One of the interesting, and sometimes confusing, aspects of JavaScript is that assignment can happen at almost any point. Because of this, an errant equals sign can end up causing assignment when the true intent was to do a comparison. This is especially true when using a return statement. For …

Occurrences

There are 10 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/HansEJC/hansejc.github.io/issue/JS-0086/occurrences/

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status
To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions