I've read a lot about the "use strict"; mode that came out not so long ago to JavaScript to optimize code. It makes it easier to make better code.
So, I decided to use the mode in all my JavaScript codes, but in JSHint, it says it have to be defined in every single function. But all I want is to be strict with my whole code. I'm comfused!
Do I have to add "use strict"; to every single function or just at the start of my .js file?