CodeQL library for JavaScript

Member predicate DataFlow::FunctionNode::getReceiver

Gets the dataflow node holding the value of the receiver passed to the given function.

Has no result for arrow functions, as they ignore the receiver argument.

To get the data flow node for this in an arrow function, consider using getThisBinder().getReceiver().

ThisNode getReceiver()