Open strager opened 8 months ago
https://twitter.com/boshen_c/status/1739191812131324257
An expression such as 10 <= x && x <= 9 is always false. quick-lint-js should warn about such cases.
10 <= x && x <= 9
Note that 10 <= x && x <= 9 (buggy) is equivalent to x >= 10 && x <= 9.
x >= 10 && x <= 9
Hey @strager can I claim this for hire task :D
https://twitter.com/boshen_c/status/1739191812131324257
An expression such as
10 <= x && x <= 9
is always false. quick-lint-js should warn about such cases.Note that
10 <= x && x <= 9
(buggy) is equivalent tox >= 10 && x <= 9
.