Hi all. I have not tested the use strict mode and I don’t know to use it.
But I have a question.
Will the code below that have the use strict mode enabled cause the ReferenceError
error?
'use strict';
console.log('start');
console.log(x); // do this line cause the ReferenceError error?
console.log('middle');
var x = 7;
console.log(x);
console.log('end');
Please answer.
Best,
@pummarinbest