Axel Rauschmayer (2013-02-01T09:56:45.000Z)
Beautiful.

What do question marks in value (as opposed to key) positions mean?
Example: { a: x? }

How does this work grammatically (ternary operator…)?

On Feb 1, 2013, at 5:28 , Andreas Rossberg <rossberg at google.com> wrote:

> I wrote up the semantics of refutable destructuring as discussed in
> yesterday's meeting:
> 
> http://wiki.ecmascript.org/doku.php?id=harmony:refutable_matching
> 
> In particular, this defines the meaning of the ?-operator in a fairly
> straightforward manner.
> 
> The page also describes how the proposed matching semantics would
> readily be applicable to a pattern matching switch, and how it would
> potentially allow us to turn 'undefined' into a keyword.
> 
> /Andreas
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130201/41db2b78/attachment-0001.html>
github at esdiscuss.org (2013-07-12T02:26:27.568Z)
Beautiful.

What do question marks in value (as opposed to key) positions mean?
Example: `{ a: x? }`

How does this work grammatically (ternary operator?)?