JavaScript used to be the wild west when it came to hidden errors. So many unintuitive mistakes/errors were hidden which is why JavaScript introduced strict mode to clean up those weird interactions. Strict mode adds a bunch of different rules mostly around fixing potential bugs and surfacing them to the developer.
📚 Materials/References:
ES6 Modules Video: https://youtu.be/cRHQNNcYf6s
ES6 Modules Article: https://blog.webdevsimplified.com/2021-11/es6-modules
🌎 Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 – Introduction
00:27 – How to enter strict mode
02:30 – Reason #1 for strict mode
04:10 – Reason #2 for strict mode
05:56 – Reason #3 for strict mode
06:18 – Reason #4 for strict mode
07:19 – Reason #5 for strict mode
08:35 – Reason #6 for strict mode
09:47 – Reason #7 for strict mode
11:28 – Reason #8 for strict mode
#StrictMode #WDS #JavaScript
Comments are closed.