# Let or nothing?

**URL:** <https://discourse.processing.org/t/let-or-nothing/46937>\
**Category:** Beginners\
**Created:** [August 15, 2025, 9:47pm UTC](https://discourse.processing.org/t/let-or-nothing/46937 "2025-08-15T21:47:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [August 15, 2025, 11:05pm UTC](https://discourse.processing.org/t/let-or-nothing/46937/2 "2025-08-15T23:05:01Z")

</div>

That behavior is nicknamed “sloppy mode”:

> **[Sloppy mode - Glossary | MDN](https://developer.mozilla.org/en-US/docs/Glossary/Sloppy_mode)**
>
> 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.

In order to activate [“strict mode”](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode), place `"use strict";` as the 1st non-comment statement in a JS file.

We can also activate “strict mode” by loading a JS file as an [“ECMA script module (ESM)”](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script/type#module).

---

_[View the full topic](https://discourse.processing.org/t/let-or-nothing/46937)._
