logo

157 Use the strict mode


Summary

The organization should set its parsers, linters, compilers and interpreters to run in strict mode.


Description

Systems must use strict mode because it is useful to prevent silent failures that might occur when certain actions, such as using undeclared variables or assigning values to read-only properties, are performed without explicit warnings. Enforcing strict mode often results in code that is more readable and less ambiguous.


Supported In

Advanced: True


References


Last updated

2024/02/09