DEV Community

Discussion on: "use strict"; in javascript

Collapse
 
bassemibrahim profile image
Bassem

Yeah! I am also wondering if "use strict" is still helpfull with IDE's autocomplete and Linting packages like ESLint.

Collapse
 
midasxiv profile image
Midas/XIV

Does Eslint help with eval variable leakage? 🤔.
Apart from that I don't think strict mode would be helpful.
I think in general it's a great interview question to just see if the candidate is curious or not.

Thread Thread
 
bassemibrahim profile image
Bassem

Yeah! Good to know in all cases