Waldemar Horwat waldemar at
Tue Feb 13 01:06:17 UTC 2018

On 02/08/2018 06:50, Alan Plum wrote:
> I realise there is some ambiguity in using the else keyword for this (though I can't think of a meaningful opposite of "catch" either).

Indeed.  You can't use 'else' without breaking existing behavior.  For example:

if (foo) try {...} catch (e) {...} else {...}


More information about the es-discuss mailing list