9 AnswersNew Answer
Nothing will happen.
So why its needed?
Strict does not allow hoisting.
I also have some questions about this. Where should I put the statement for strict mode? What do I write? When is it necessary?
James You write "use strict;" (with quotes) into the top of your JS code. Or if you only want it to apply for a function, type it as the first line of that function.