Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 296 Bytes

es2019.md

File metadata and controls

13 lines (9 loc) · 296 Bytes

This document specifies the extensions to the core ESTree AST types to support the ES2019 grammar.

Statements

CatchClause

extend interface CatchClause {
    param: Pattern | null;
}

The param is null if the catch binding is omitted. E.g., try { foo() } catch { bar() }