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