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