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