Dmitry Soshnikov (2013-08-16T19:43:29.000Z)
domenic at domenicdenicola.com (2013-08-19T05:06:27.297Z)
On Fri, Aug 16, 2013 at 12:38 PM, Kevin Smith <zenparsing at gmail.com> wrote: > Hmmm... Let me rephrase. It would be awkward and confusing to have > divergent semantics for the same pattern syntax in destructuring and > matching. This is again if we need strict matching. As long as JS is assignment-base language with mutable state and that foo.nonExisting === undefined today, I think the destructuring w/o throwing should be the main course. And if you want the strict match, it can be an extension. If we need it. If we have use-cases. This match(...) is just an idea, of course it should be worked on.