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).

Tom

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
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

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

Reply via email to