Query module PropertyWriteOnPrimitive

name
Assignment to property of primitive value
description
Assigning to a property of a primitive value has no effect and may trigger a runtime error.
kind
problem
problem.severity
error
id
js/property-assignment-on-primitive
tags
correctness language-features external/cwe/cwe-704
precision
high

Imports

javascript

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

Predicates

describeProp

Gets a description of the property written by pwn.