trullock / NUglify

NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)
Other
398 stars 80 forks source link

[ES2019] Optional catch binding support #257

Closed TheKeyblader closed 3 years ago

TheKeyblader commented 3 years ago

Hello!

Optional catch binding is not supported.

This code:

try {} catch {}

will be translate into:

try{}catch(({})){}

should be:

try {} catch {}

and not produce errors

trullock commented 3 years ago

Thanks for the report.

Will get on with a fix asap