Re:Feature request for JavaScript: omit catch
by dragonwriter on Saturday April 17, 2021 @02:17PM
(#26846266)
try without either catch or finally makes no sense.
Omitting (not emitting) an argument to throw would make sense for rethrowing errors in a catch block (many languages already do this), so it may be a good idea.
Omitting (not emitting) an argument to throw would make sense for rethrowing errors in a catch block (many languages already do this), so it may be a good idea.