CodeQL library for JavaScript
Search

Member predicate DataFlow::ThisNode::getBindingContainer

Gets the function or top-level whose this binding this expression refers to, which is the nearest enclosing non-arrow function or top-level.

StmtContainer getBindingContainer()