aboutsummaryrefslogtreecommitdiff
path: root/files/fr/glossary/sloppy_mode/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/glossary/sloppy_mode/index.html')
-rw-r--r--files/fr/glossary/sloppy_mode/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/files/fr/glossary/sloppy_mode/index.html b/files/fr/glossary/sloppy_mode/index.html
new file mode 100644
index 0000000000..3a8ecb0fb4
--- /dev/null
+++ b/files/fr/glossary/sloppy_mode/index.html
@@ -0,0 +1,19 @@
+---
+title: Sloppy mode
+slug: Glossaire/Sloppy_mode
+tags:
+ - Glossaire
+ - JavaScript
+translation_of: Glossary/Sloppy_mode
+---
+<p>En {{Glossary ("ECMAScript")}} 5 et plus tard, les scripts optent pour un nouveau <a href="https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Strict_mode">mode strict</a>, qui modifie la sémantique de JavaScript de plusieurs façons pour améliorer sa résilience et qui facilite la compréhension de ce qui se passe en cas de problème .</p>
+
+<p>Le mode normal, non-strict de JavaScript est parfois appelé <strong>sloppy mode</strong> (<em>mode bâclé</em>). Ce n'est pas une désignation officielle, mais vous risquez de la rencontrer si vous passez du temps à faire du code JavaScript.</p>
+
+<h2 id="En_apprendre_plus">En apprendre plus</h2>
+
+<h3 id="Culture_générale">Culture générale</h3>
+
+<ul>
+ <li>"<a href="http://speakingjs.com/es5/ch07.html#strict_mode">Strict Mode</a>" dans le chapitre 7 ("JavaScript Syntax") dans le livre Speaking <em>JavaScript</em>. (en)</li>
+</ul>