Strict mode in js

What is strict mode in js?

1 Like

Strict mode in js is used to write more secure code, It gives us the flexibility to write code safer, and the more important thing is that javascript has this weird behavior to give wrong output silently without showing any error in development tools, so use strict on the top of js file is preferred to avoid all these

1 Like