Open lefex opened 4 years ago
let x = 'outer value'; (function() { // start TDZ for x console.log(x); let x = 'inner value'; // declaration ends TDZ for x }());