Query module AssignmentToConst

name
Assignment to constant
description
Assigning to a variable that is declared ‘const’ has either no effect or leads to a runtime error, depending on the platform.
kind
problem
problem.severity
error
id
js/assignment-to-constant
tags
reliability correctness
precision
very-high

Imports

RestrictedLocations

Provides classes for restricting the locations reported for program elements.

javascript

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