Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 1107709 of Sloppy mode

  • Revision slug: Glossary/Sloppy_mode
  • Revision title: Sloppy mode
  • Revision id: 1107709
  • Created:
  • Creator: klez
  • Is current revision? Yes
  • Comment added web literacy tags

Revision Content

{{Glossary("ECMAScript")}} 5 and later let scripts opt in to a new strict mode, which alters the semantics of JavaScript in several ways to improve its resiliency and which make it easier to understand what's going on when there are problems.

The normal, non-strict mode of JavaScript is sometimes referred to as sloppy mode. This isn't an official designation, but you are likely to come across it if you spend time doing serious JavaScript code.

Learn more

General knowledge

  • "Strict Mode" in chapter 7 ("JavaScript Syntax") in the book Speaking JavaScript.

Revision Source

<p>{{Glossary("ECMAScript")}} 5 and later let scripts opt in to a new <a href="/en-US/docs/Web/JavaScript/Reference/Strict_mode">strict mode</a>, which alters the semantics of JavaScript in several ways to improve its resiliency and which make it easier to understand what's going on when there are problems.</p>

<p>The normal, non-strict mode of JavaScript is sometimes referred to as <strong>sloppy mode</strong>. This isn't an official designation, but you are likely to come across it if you spend time doing serious JavaScript code.</p>

<h2 id="Learn_more">Learn more</h2>

<h3 id="General_knowledge">General knowledge</h3>

<ul>
 <li>"<a href="https://speakingjs.com/es5/ch07.html#strict_mode">Strict Mode</a>" in chapter 7 ("JavaScript Syntax") in the book Speaking <em>JavaScript</em>.</li>
</ul>
Revert to this revision