| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Unexpected trailing comma after rest element. (1:11)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "ExpressionStatement", |
| 15 |
"start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}}, |
| 16 |
"expression": { |
| 17 |
"type": "ArrowFunctionExpression", |
| 18 |
"start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}}, |
| 19 |
"id": null, |
| 20 |
"generator": false, |
| 21 |
"async": true, |
| 22 |
"params": [ |
| 23 |
{ |
| 24 |
"type": "RestElement", |
| 25 |
"start":7,"end":11,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":11,"index":11}}, |
| 26 |
"argument": { |
| 27 |
"type": "Identifier", |
| 28 |
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"}, |
| 29 |
"name": "a" |
| 30 |
} |
| 31 |
} |
| 32 |
], |
| 33 |
"body": { |
| 34 |
"type": "BlockStatement", |
| 35 |
"start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, |
| 36 |
"body": [], |
| 37 |
"directives": [] |
| 38 |
} |
| 39 |
} |
| 40 |
} |
| 41 |
], |
| 42 |
"directives": [] |
| 43 |
} |
| 44 |
} |