use strict playground
by jacobwsmith
JavaScript
"use strict";
if (true) {
function foo() {
console.log('toggle use strict and see the different results');
}
foo();
console.log('inside: ', typeof foo);
}
console.log('outside: ', typeof foo);