Lexical syntax
Directive prologue
The initial sequence of string-literal expression statements in a script or function body is the directive prologue. The exact Use Strict Directive has defined semantics; other strings need not have language effects. A string appearing after an ordinary statement is not part of that initial sequence.
Formal Syntax & Structure
javascript syntaxjavascript
"use strict";const total = 2;Working Example
Example Snippetjavascript
"use strict";const total = 2;console.log(total);