Thaddee Tyl wrote:
By the way, even in the current specification of let, we can still
construct a useless let:

     for (let x = 42;false;) console.log(x);

(which is the same as the example you gave, using "if").

Yes, this falls out of the JS (and Dart, convergent evolution, coincidental as far as I can tell) design, but so what? OMG LETS MAKE USELESS LETS EVERYWHERE LOLJSSUXZ0RZ! Um, no.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to