Add strict mode
This commit is contained in:
4
glossary/Strict-mode.md
Normal file
4
glossary/Strict-mode.md
Normal file
@ -0,0 +1,4 @@
|
||||
### Strict mode
|
||||
|
||||
JavaScript's strict mode is a JavaScript feature that allows developers to use a more restrictive variant of JavaScript and it can be enabled by adding `'use strict';` at the very top of their code.
|
||||
Strict mode elimiated some silent errors, might improve performance and changes the behavior or `eval` and `arguments` among other things.
|
||||
Reference in New Issue
Block a user