Skip to main content Skip to docs navigation

Strict Mode

JavaScript's strict mode is a way to opt in to a restricted variant of JavaScript, thereby implicitly opting-out of "sloppy mode ". Strict mode isn't just a subset: it intentionally has different semantics from normal code.

On this page

Updated on April 20, 2024 by Datarist.