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

Member predicate ImmediatelyInvokedFunctionExpr::getArgumentOffset

Gets the offset of argument positions relative to parameter positions: for direct IIFEs the offset is zero, for IIFEs using Function.prototype.call the offset is one, and for IIFEs using Function.prototype.apply the offset is not defined.

int getArgumentOffset()