Empty yield

Author: LGTM

import javascript

from YieldExpr yield
where not exists(yield.getOperand())
select yield

Description

Finds yield expressions without an operand