{ "type": "Script", "span": { "start": 19, "end": 121, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 19, "end": 51, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 25, "end": 50, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 25, "end": 26, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 29, "end": 50, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 31, "end": 32, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 34, "end": 39, "ctxt": 0 }, "value": "yes", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 41, "end": 42, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 44, "end": 48, "ctxt": 0 }, "value": "no", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 52, "end": 77, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 58, "end": 76, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 58, "end": 59, "ctxt": 0 }, "value": "o", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 62, "end": 76, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 64, "end": 65, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 67, "end": 68, "ctxt": 0 }, "value": 1.0 } }, { "type": "SpreadElement", "spread": { "start": 70, "end": 73, "ctxt": 0 }, "arguments": { "type": "Identifier", "span": { "start": 73, "end": 74, "ctxt": 0 }, "value": "y", "optional": false } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 78, "end": 84, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 82, "end": 83, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 82, "end": 83, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 85, "end": 99, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 89, "end": 98, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 89, "end": 93, "ctxt": 0 }, "value": "rest", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 93, "end": 98, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 95, "end": 98, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 100, "end": 121, "ctxt": 0 }, "expression": { "type": "ParenthesisExpression", "span": { "start": 100, "end": 120, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 101, "end": 119, "ctxt": 0 }, "operator": "=", "left": { "type": "ObjectPattern", "span": { "start": 101, "end": 115, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 103, "end": 104, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 103, "end": 104, "ctxt": 0 }, "value": "b", "optional": false }, "value": null }, { "type": "RestElement", "span": { "start": 106, "end": 113, "ctxt": 0 }, "rest": { "start": 106, "end": 109, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 109, "end": 113, "ctxt": 0 }, "value": "rest", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 118, "end": 119, "ctxt": 0 }, "value": "o", "optional": false } } } } ], "interpreter": null }