build-CI
3243f061 - refactor: fix Yoda conditions

Commit
1 day ago
refactor: fix Yoda conditions Yoda conditions are named so because the literal value of the condition comes first while the variable comes second. For instance, ```js if ("red" === color) { // ... } ``` Yoda condition is fixed by switching the literal and variable.
Parents
Loading