Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds generator functions

import javascript

from Function f
where f.isGenerator()
select f