On Apr 13, 2011, at 8:04 PM, Dmitry A. Soshnikov wrote:

>> var a = b ? c;  // aka, `var a = b ? c : undefined`
>> 
> 
> Hm, intuitively the form  `a = b ? c` sounds for me as:
> 
> a = b ? b : c

Which would be

  a = b || c;

or if you want to test exactly b === undefined,

  a = b ?? c;

but this brings us back to the strawman.

More in reply to your previous message about ?. and just ? as postfix operator.

/be

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

Reply via email to