||= is much needed?

Brendan Eich brendan at mozilla.com
Thu Jun 14 13:43:48 PDT 2012


Yes, I'm about to bail back to ??.

Issue of undefined vs. undefined-or-null is separate but I'm still 
favoring undefined only.

/be

John Tamplin wrote:
> On Thu, Jun 14, 2012 at 4:04 PM, Rick Waldron <waldron.rick at gmail.com 
> <mailto:waldron.rick at gmail.com>> wrote:
>
>     I realize that the strawman currently spells it "?:", consider
>     this message an opposition to that.
>
>
> This has been an extension to C for quite some time, and it means 
> specifically to use the condition value if it is truthy (and is itself 
> derived from the behavior of a ? a : b).  I think it would be a 
> mistake to change that behavior from what is expected.
>
> -- 
> John A. Tamplin
> Software Engineer (GWT), Google


More information about the es-discuss mailing list