{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 6 } } }, "init": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 16, "column": 10 } } }, "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 16, "column": 10 } } } ], "kind": "var", "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 16, "column": 10 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "init": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 10 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 10 } } } ], "kind": "var", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 10 } } }, { "type": "TryStatement", "block": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 3 } } }, "right": { "type": "BinaryExpression", "operator": "/", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 7 } } }, "right": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 11 } } }, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 19, "column": 11 } } }, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 11 } } }, "loc": { "start": { "line": 19, "column": 2 }, "end": { "line": 19, "column": 11 } } } ], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 20, "column": 2 } } }, "handler": [ { "type": "CatchClause", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 21, "column": 3 }, "end": { "line": 21, "column": 4 } } }, "right": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 21, "column": 7 }, "end": { "line": 21, "column": 8 } } }, "loc": { "start": { "line": 21, "column": 3 }, "end": { "line": 21, "column": 8 } } }, "loc": { "start": { "line": 21, "column": 3 }, "end": { "line": 21, "column": 8 } } } ], "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 22, "column": 2 } } }, "param": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 11 } } }, "loc": { "start": { "line": 20, "column": 3 }, "end": { "line": 22, "column": 2 } } } ], "finalizer": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 23, "column": 3 }, "end": { "line": 23, "column": 4 } } }, "right": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 23, "column": 7 }, "end": { "line": 23, "column": 8 } } }, "loc": { "start": { "line": 23, "column": 3 }, "end": { "line": 23, "column": 8 } } }, "loc": { "start": { "line": 23, "column": 3 }, "end": { "line": 23, "column": 8 } } } ], "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 24, "column": 2 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 24, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 25, "column": 1 } } }