CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.3-dev (changelog, source)
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)