{ "type": "File", "start": 0, "end": 33, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "errors": [ "SyntaxError: new.target can only be used in functions (2:2)" ], "program": { "type": "Program", "start": 0, "end": 33, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start": 0, "end": 33, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6, "end": 33, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 3, "column": 1 } }, "id": { "type": "Identifier", "start": 6, "end": 7, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 }, "identifierName": "A" }, "name": "A" }, "init": { "type": "ArrowFunctionExpression", "start": 10, "end": 33, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 3, "column": 1 } }, "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 16, "end": 33, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 3, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 20, "end": 31, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 13 } }, "expression": { "type": "MetaProperty", "start": 20, "end": 30, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 12 } }, "meta": { "type": "Identifier", "start": 20, "end": 23, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 5 }, "identifierName": "new" }, "name": "new" }, "property": { "type": "Identifier", "start": 24, "end": 30, "loc": { "start": { "line": 2, "column": 6 }, "end": { "line": 2, "column": 12 }, "identifierName": "target" }, "name": "target" } } } ], "directives": [] } } } ], "kind": "const" } ], "directives": [] } }