||= is much needed?
russell.leggett at gmail.com
Tue Jun 12 11:38:02 PDT 2012
On Tue, Jun 12, 2012 at 2:31 PM, Tom Ellis <tellishtc at gmail.com> wrote:
> I like the sound of ?= too.
> var a;
> //later on
> a ?= 15;
> It goes with all the other operators that are out there too (!=, =, ==,
> === etc).
+1, useful and intuitive.
> On 12 Jun 2012, at 19:04, Brendan Eich wrote:
> > Brendan Eich wrote:
> >> Is this (A ? B) ? C : D or A ? (B ? C) : D. We can disambiguate in the
> formal grammar but readers may rebel.
> > Or A ? (B ? C : D), of course.
> > Just say no to lone ? as new operator. I'm warming up to ?= though!
> > /be
> > _______________________________________________
> > es-discuss mailing list
> > es-discuss at mozilla.org
> > https://mail.mozilla.org/listinfo/es-discuss
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss