CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (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()