JavaScript Optional Catch Binding

Description

Sometimes you don’t care about the error and you’re allowed to ignore it.

Proposal

Optional catch binding[fn:optional]

Syntax

try {
// ···
} catch {
// ···
}

Footnotes

[fn:optional]https://github.com/tc39/proposal-optional-catch-binding