It seems to imply that existing "sloppy" code that does this is block scope:

for (let  x = 1; x < 1; x++) {
  function f() {
  }
  store(f);
}

But this is not (as there is a second definition of f):

for (let x = ; x < 10; x++) {
  for (let  y = 1; x < 10; x++) {
     function f() {
    }
    store(f);
  }
  for (let  y = 1; x < 10; x++) {
    function f() {
    }
    store(f);
  }
}

Is this what is intended?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to