Strict Mode
↔ opt-in variant of JS with more restrictive Semantic & rules for JS Compiler
References
"use strict"
↔ Directive Statement to invoke Strict Mode for either entire script or specific functionwith
↔ JS Keyword to extend Scope Chain of Statement . !Forbidden in Strict Mode!Sloppy Mode
↔ (default) non-Strict Mode Semantics for JS Compilerthis Function Call
↔ 👉<undefined\>
(in Strict Mode; Sloppy Mode 👉window
)--alwaysStrict
↔ to flag TSC to apply Strict Mode"alwaysStrict": true
↔ to turn on Strict Mode