{ "type": "Script", "span": { "start": 0, "end": 85, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 9, "end": 10, "ctxt": 0 }, "value": "a", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 0, "end": 85, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 14, "end": 85, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 20, "end": 34, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 24, "end": 33, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 24, "end": 25, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 25, "end": 33, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 27, "end": 33, "ctxt": 0 }, "kind": "number" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 39, "end": 49, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 43, "end": 49, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 43, "end": 44, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 44, "end": 49, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 46, "end": 49, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 54, "end": 83, "ctxt": 0 }, "expression": { "type": "ParenthesisExpression", "span": { "start": 54, "end": 82, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 55, "end": 81, "ctxt": 0 }, "operator": "=", "left": { "type": "ObjectPattern", "span": { "start": 55, "end": 66, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 57, "end": 58, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 57, "end": 58, "ctxt": 0 }, "value": "x", "optional": false }, "value": null }, { "type": "RestElement", "span": { "start": 60, "end": 64, "ctxt": 0 }, "rest": { "start": 60, "end": 63, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 63, "end": 64, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ParenthesisExpression", "span": { "start": 69, "end": 81, "ctxt": 0 }, "expression": { "type": "TsAsExpression", "span": { "start": 70, "end": 80, "ctxt": 0 }, "expression": { "type": "ObjectExpression", "span": { "start": 70, "end": 73, "ctxt": 0 }, "properties": [] }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 77, "end": 80, "ctxt": 0 }, "kind": "any" } } } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }