Equalities as expression statement

Author: LGTM

import javascript

from ExprStmt e
where e.getExpr() instanceof EqExpr
select e

Description

Finds `==` equality expressions that form an expression statement