Add strict mode

This commit is contained in:
Angelos Chalaris
2018-09-01 13:16:19 +03:00
parent 6cb2329eb9
commit 12a07a7afa

4
glossary/Strict-mode.md Normal file
View 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.