{ "type": "File", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "program": { "type": "Program", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "sourceType": "script", "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "id": { "type": "Identifier", "start": 9, "end": 10, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 }, "identifierName": "x" }, "name": "x" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "RestElement", "start": 11, "end": 22, "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 22 } }, "argument": { "type": "ArrayPattern", "start": 14, "end": 22, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 22 } }, "elements": [ { "type": "Identifier", "start": 16, "end": 17, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 }, "identifierName": "a" }, "name": "a" }, { "type": "Identifier", "start": 19, "end": 20, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 }, "identifierName": "b" }, "name": "b" } ] } } ], "body": { "type": "BlockStatement", "start": 23, "end": 25, "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 25 } }, "body": [], "directives": [] } } ], "directives": [] } }