{ "type": "Script", "span": { "start": 136, "end": 274, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 145, "end": 150, "ctxt": 0 }, "value": "test0", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 151, "end": 172, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 151, "end": 172, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 151, "end": 167, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 153, "end": 158, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 153, "end": 154, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 157, "end": 158, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "AssignmentPatternProperty", "span": { "start": 160, "end": 165, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 160, "end": 161, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "Identifier", "span": { "start": 164, "end": 165, "ctxt": 0 }, "value": "a", "optional": false } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 170, "end": 172, "ctxt": 0 }, "properties": [] } } } ], "decorators": [], "span": { "start": 136, "end": 198, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 174, "end": 198, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 180, "end": 196, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 187, "end": 195, "ctxt": 0 }, "properties": [ { "type": "Identifier", "span": { "start": 189, "end": 190, "ctxt": 0 }, "value": "a", "optional": false }, { "type": "Identifier", "span": { "start": 192, "end": 193, "ctxt": 0 }, "value": "b", "optional": false } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 209, "end": 214, "ctxt": 0 }, "value": "test1", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 215, "end": 248, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 215, "end": 248, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 215, "end": 243, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 217, "end": 218, "ctxt": 0 }, "value": "c", "optional": false }, "value": { "type": "AssignmentPattern", "span": { "start": 220, "end": 241, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 220, "end": 236, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 222, "end": 227, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 222, "end": 223, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 226, "end": 227, "ctxt": 0 }, "value": 0.0, "raw": "0" } }, { "type": "AssignmentPatternProperty", "span": { "start": 229, "end": 234, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 229, "end": 230, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "Identifier", "span": { "start": 233, "end": 234, "ctxt": 0 }, "value": "a", "optional": false } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 239, "end": 241, "ctxt": 0 }, "properties": [] } } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 246, "end": 248, "ctxt": 0 }, "properties": [] } } } ], "decorators": [], "span": { "start": 200, "end": 274, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 250, "end": 274, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 256, "end": 272, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 263, "end": 271, "ctxt": 0 }, "properties": [ { "type": "Identifier", "span": { "start": 265, "end": 266, "ctxt": 0 }, "value": "a", "optional": false }, { "type": "Identifier", "span": { "start": 268, "end": 269, "ctxt": 0 }, "value": "b", "optional": false } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }