E0343: using '==' against a class literal always returns 'false'
In JavaScript, you can create a class in an expression. The class is a brand new
class, so comparing the class using ==
, ===
, !=
, or !==
will always give
the same result (false
or true
):
To fix this error, write =
instead of ==
:
Introduced in quick-lint-js version 2.10.0.