⚖️strict vs. sloppy
🚧 under construction
JS ⟩ concepts ⟩ environment ⟩ JS engine ⟩ mode ⟩ strict vs. sloppy
⭐️ feature | 🛡️ strict mode | ❗️ sloppy mode |
---|---|---|
with statement | ❌ forbidden | ✅ OK |
variable must be declared | ✅ yes | ❌ no |
this context of function | ||
assignment to non-writable property / create property on non-extensible object | ⛔ TypeError | ❗ fails silently |
🚧 ... to be continued |
Last updated