fail-fast object destructuring (don't add more slop to sloppy mode)

Kevin Smith khs4473 at
Wed Jan 2 19:08:15 PST 2013

The proposed behavior when a non-leaf is marked irrefutable (the entire
subtree is essentially irrefutable) seems reasonable to.  Unless I'm
mistaken, it's also backward compatible with your original leaf-only
design, right?  If so, irrefutability could be leaf-only in ES6, to be
expanded possibly in ES7 along with the existential operator.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list