CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)

Member predicate ImmediatelyInvokedFunctionExpr::argumentPassing

Holds if p is a parameter of this IIFE and arg is the corresponding argument.

Note that rest parameters do not have corresponding arguments; conversely, arguments after a spread element do not have a corresponding parameter.

predicate argumentPassing(Parameter p, Expr arg)