Refutable pattern

Andreas Rossberg rossberg at
Thu Jan 31 20:28:06 PST 2013

I wrote up the semantics of refutable destructuring as discussed in
yesterday's meeting:

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.


More information about the es-discuss mailing list