Example of using strict mode JavaScript from Web Dev Simplified
https://www.youtube.com/watch?v=G9QTBS2x8U4
#webdevsimplified #strictmode
https://www.youtube.com/watch?v=G9QTBS2x8U4
#webdevsimplified #strictmode
YouTube
JavaScript Was So Bad They Had To Add A Second Mode To Fix It
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…