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

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)