🚧 under construction
JS ⟩ concepts ⟩ environment ⟩ JS engine ⟩ mode ⟩ strict vs. sloppy
strict mode / sloppy mode
JavaScript: The Definitive Guide ⟩ 5.6.3 "use strict"
Strict modearrow-up-right
with statement
❌ forbidden
✅ OK
variable must be declared
✅ yes
❌ no
this context of function
undefined
global object
assignment to non-writable property / create property on non-extensible object
⛔ TypeError
❗ fails silently
🚧 ... to be continued
Last updated 3 years ago