Tag: maintainability
The incorrect use of super() causes problems.
Checks for lazy module loading.
New Object() has been used for object creation instead of {}.
Items removed from an array using delete can cause undefined holes in the array.
Checks if the undefined is used as variable.
Checks for the use of browser pop-ups (alert, confirm, prompt).
Detect switch statements if it has less than three case clauses.
indexOf method should not be compared with values greater than zero.
Swallowing exceptions, without rethrowing or logging them, can make it hard to understand why your application is failing.
String passed to setInterval or setTimeout can cause the JavaScript engine to evaluate, which can lead to a security risk.
Missing checks might cause silent failures that are harder to debug.
Overriding environment variables that are reserved by AWS Lambda might lead to unexpected behavior.
Checks if nan is used is comparison.
This code uses deprecated methods, which suggests that it has not been recently reviewed or maintained.