Empty yield
Author: LGTM
import javascript
from YieldExpr yield
where not exists(yield.getOperand())
select yield
Description
Finds yield expressions without an operand
import javascript
from YieldExpr yield
where not exists(yield.getOperand())
select yield
Finds yield expressions without an operand