try without catch or finally

Jussi Kalliokoski jussi.kalliokoski at gmail.com
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 */ }

Cheers,
Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120417/7af8cb7c/attachment.html>


More information about the es-discuss mailing list