Why, in this code, is strict mode not doing anything in particular? I should be getting a reference error for an undeclared variable; instead, it seems to be working perfectly.
function foo(){
"use strict";
a = 54;
console.log(a);
}
foo()