Refutable destructuring

Brandon Benvie bbenvie at mozilla.com
Fri Aug 9 17:46:53 PDT 2013


On 8/9/2013 5:45 PM, Allen Wirfs-Brock wrote:
> and if we make U+2639 a special token that evaluated to throw TypeError we could say
>
>    function foo( {a=☹ }) {}

This would be awesome.


More information about the es-discuss mailing list