CodeQL library for JavaScript
Search

Module DefensiveProgramming

Provides classes for working with defensive programming patterns.

Import path

import semmle.javascript.DefensiveProgramming

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

DefensiveExpressionTest

A test in a defensive programming pattern.

Modules

DefensiveExpressionTest

Provides classes for specific kinds of defensive programming patterns.