Query module ExpressionClosures

name
Use of platform-specific language features
description
Non-standard language features such as expression closures or let expressions make it harder to reuse code.
kind
problem
problem.severity
warning
id
js/non-standard-language-feature
tags
portability maintainability language-features external/cwe/cwe-758
precision
very-high

Imports

javascript

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

Predicates

deprecated_feature

Holds if nd is a use of deprecated language feature type, and replacement is the recommended replacement.