Avoid Undefined As Variable Name High

In JavaScript, the word undefined is not a reserved keyword. So it can be used as an identifier in any scope except global scope, but doing so will make the code difficult to maintain and debug. So it is recommended that not to use undefined as a variable name.

Detector ID
typescript/avoid-undefined-as-variable-name@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-