Immediately invoked function expressions

Author: LGTM

import javascript

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

Description

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