Ah, that does somewhat throw a wrench in the system. I'm not sure what the 
committee's policy is on backwards compatibility and non-standard features. I 
find the SpiderMonkey handling you just brought to my attention to be a little 
clunky.

Sent from my iPhone

> On May 13, 2016, at 11:26 AM, Claude Pache <[email protected]> wrote:
> 
> Note that SpiderMonkey has already nonstandard conditional catch clauses:
> 
> ```js
> try {
>     // ...
> }
> catch (e if e instanceof TypeError) {
>     // ....
> }
> ```
> 
> —Claude
> 
> 
>> Le 13 mai 2016 à 17:06, Joseph Groseclose <[email protected]> a écrit :
>> 
>> I sent this proposal via 
>> http://www.ecma-international.org/memento/contribute_TC39_Royalty_Free_Task_Group.php#
>>  yesterday evening. Sharing it here now: 
>> https://github.com/benderTheCrime/error-type-specific-catch-proposal
>> 
>> 
>> _______________________________________________
>> es-discuss mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/es-discuss
> 
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to