Refutable matching and default values
Axel Rauschmayer
axel at rauschma.de
Wed Feb 27 19:06:10 PST 2013
http://wiki.ecmascript.org/doku.php?id=harmony:refutable_matching
Question: Does a
Pattern "=" AssignmentExpression
make sense without a prefixed question mark? For example, what would the result of the following statement be?
let {a: x = 1} = {};
Thanks!
Axel
--
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/20130228/540a5aa5/attachment.html>
More information about the es-discuss
mailing list