Skip to main content

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

This requirement is verified in following services

PlanSupported
Machine🔴
Squad🟢

References

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.