{ "type": "File", "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}, "errors": [ "SyntaxError: 'await' is only allowed within async functions and at the top levels of modules. (1:0)" ], "program": { "type": "Program", "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ExpressionStatement", "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}}, "expression": { "type": "AwaitExpression", "start":0,"end":7,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":7,"index":7}}, "argument": { "type": "NumericLiteral", "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}}, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] } }