From 12a07a7afa74e04e6e768bcc86e7e9bb73c90a13 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 1 Sep 2018 13:16:19 +0300 Subject: [PATCH] Add strict mode --- glossary/Strict-mode.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Strict-mode.md diff --git a/glossary/Strict-mode.md b/glossary/Strict-mode.md new file mode 100644 index 000000000..b61ead637 --- /dev/null +++ b/glossary/Strict-mode.md @@ -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.