mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
388 B
388 B
date | id | title |
---|---|---|
2020-11-16 | ede05265-f991-4a4e-b782-e2b63917c365 | JavaScript Optional Catch Binding |
Description
Sometimes you don't care about the error and you're allowed to ignore it.
Proposal
Optional catch binding1
Syntax
try {
// ···
} catch {
// ···
}