{ "type": "File", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "id": { "type": "Identifier", "start": 9, "end": 13, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 13 }, "identifierName": "test" }, "name": "test" }, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16, "end": 38, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 3, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 20, "end": 36, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 18 } }, "expression": { "type": "LogicalExpression", "start": 20, "end": 35, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 17 } }, "left": { "type": "BooleanLiteral", "start": 20, "end": 24, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 6 } }, "value": true }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 28, "end": 35, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 17 } }, "operator": "throw", "prefix": true, "argument": { "type": "NumericLiteral", "start": 34, "end": 35, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 17 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } } ], "directives": [] } } ], "directives": [] } }