Empty block
Author: LGTM
import javascript
from BlockStmt blk
where not exists(blk.getAStmt())
select blk
Description
Finds empty block statements
import javascript
from BlockStmt blk
where not exists(blk.getAStmt())
select blk
Finds empty block statements