(function() { "use strict"; { var a = 1; console.log(a); //1 } console.log(a); // 1 })(); console.log(globalThis.a); // undefined