Message from JavaScript discussions

May 2017

— Hmm, I thought arguments wasn't available in strict

— 

I am specifically checking if variable declarations without var or other prefix throw an error, which they should in strict mode

— Ah

— That's a good way

— In the browser VM this code does not run in strict mode

"use strict";
function myFunc () {
b = 456;
}
myFunc();

Message permanent page

— What about with use strict inside the function?

— No effect

— Which browser?

— Chrome

— That's weird

— Yeah, I am puzzled

— Uhm....