CodeQL library for JavaScript
Search

Predicate getThrowTarget

Gets the dataflow-node that an exception thrown at thrower will flow to.

The predicate that all functions are not async.

Import path

import semmle.javascript.dataflow.internal.FlowSteps
Node getThrowTarget(Node thrower)