{ "type": "Script", "span": { "start": 15, "end": 75, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 15, "end": 43, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 19, "end": 28, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 19, "end": 20, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 20, "end": 28, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 22, "end": 28, "ctxt": 0 }, "kind": "string" } } }, "init": null, "definite": false }, { "type": "VariableDeclarator", "span": { "start": 30, "end": 42, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 30, "end": 31, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 31, "end": 42, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 33, "end": 42, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 33, "end": 40, "ctxt": 0 }, "kind": "boolean" } } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 44, "end": 75, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 44, "end": 74, "ctxt": 0 }, "operator": "=", "left": { "type": "ArrayPattern", "span": { "start": 44, "end": 53, "ctxt": 0 }, "elements": [ { "type": "Identifier", "span": { "start": 45, "end": 46, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, { "type": "RestElement", "span": { "start": 51, "end": 52, "ctxt": 0 }, "rest": { "start": 48, "end": 51, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 51, "end": 52, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 56, "end": 74, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "NumericLiteral", "span": { "start": 58, "end": 59, "ctxt": 0 }, "value": 0.0 }, "value": { "type": "StringLiteral", "span": { "start": 61, "end": 63, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } }, { "type": "KeyValueProperty", "key": { "type": "NumericLiteral", "span": { "start": 65, "end": 66, "ctxt": 0 }, "value": 1.0 }, "value": { "type": "BooleanLiteral", "span": { "start": 68, "end": 72, "ctxt": 0 }, "value": true } } ] } } } ], "interpreter": null }