Tag: maintainability

Invoke super appropriately

The incorrect use of super() causes problems.

Typeof expression

The typeof operator should only be compared to valid values.

Catch and swallow exception

Swallowing exceptions, without rethrowing or logging them, can make it hard to understand why your application is failing.

String passed to setInterval or setTimeout

String passed to setInterval or setTimeout can cause the JavaScript engine to evaluate, which can lead to a security risk.

Override of reserved variable names in a Lambda function

Overriding environment variables that are reserved by AWS Lambda might lead to unexpected behavior.

Avoid nan in comparison

Checks if nan is used is comparison.

Use of a deprecated method

This code uses deprecated methods, which suggests that it has not been recently reviewed or maintained.