Refutable destructuring

Kevin Smith zenparsing at
Fri Aug 16 11:26:05 PDT 2013

> And for the strict match one could introduce match(...) function which
> already would throw providing exactly matching procedure first, and then
> destructuring as a consequence.

Do you not think that it would be awkward to have the exact same pattern
syntax for these two cases (matching and destructuring), but with different

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

More information about the es-discuss mailing list