FE icon indicating copy to clipboard operation
FE copied to clipboard

JavaScript

Open lefex opened this issue 6 years ago • 0 comments

let x = 'outer value';
(function() {
  // start TDZ for x
  console.log(x);
  let x = 'inner value'; // declaration ends TDZ for x
}());

lefex avatar Jan 06 '20 02:01 lefex