try without catch or finally

Jussi Kalliokoski jussi.kalliokoski at
Tue Apr 17 13:35:16 PDT 2012

I'm not sure if this has been discussed before, but is it a terribly bad
idea to make catch/finally optional for a try block?

There's a lot of code like this out there:

try { /* something here */ } catch (e) { /* nothing here */ }

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

More information about the es-discuss mailing list