This document specifies the extensions to the core ESTree AST types to support the ES2019 grammar.
extend interface CatchClause {
param: Pattern | null;
}
The param
is null
if the catch
binding is omitted. E.g., try { foo() } catch { bar() }