JavaScript Concepts: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
{{External|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode}} | {{External|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode}} | ||
In strict mode the code is subject to stricter syntax for increased performance, some otherwise silent errors will be thrown, and certain keywords are reserved for future versions of ECMAScript. | In strict mode the code is subject to stricter syntax for increased performance, some otherwise silent errors will be thrown, and certain keywords are reserved for future versions of ECMAScript. Class [[JavaScript_Classes#Body|bodies]] are executed in strict mode. |
Revision as of 23:18, 21 January 2020
Internal
Subjects
Miscellanea
Strict Mode
In strict mode the code is subject to stricter syntax for increased performance, some otherwise silent errors will be thrown, and certain keywords are reserved for future versions of ECMAScript. Class bodies are executed in strict mode.