CodeQL queries 1.24

Skip to end of metadata
Go to start of metadata

Finds calls of the form `(function(...) { ... })(...)`

import javascript

from CallExpr c
where c.getCallee().stripParens() instanceof FunctionExpr
select c