Olov Lassus (2013-12-04T20:04:55.000Z)
2013/12/4 Andreas Rossberg <rossberg at google.com>

> I don't understand. Why can't you do
>
> const val = compute(something)
> if (val) {
>     // ...
> }
>

(also Axel)
Oops - yeah I sure could. consts are one honking great idea -- let's do
more of those! That's all. :)

/Olov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131204/42cf8f47/attachment.html>
domenic at domenicdenicola.com (2013-12-10T01:45:42.125Z)
2013/12/4 Andreas Rossberg <rossberg at google.com>

> I don't understand. Why can't you do
>
> ```js
> const val = compute(something)
> if (val) {
>     // ...
> }
> ```

(also Axel)
Oops - yeah I sure could. consts are one honking great idea -- let's do
more of those! That's all. :)