{ "type": "Script", "span": { "start": 125, "end": 175, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 134, "end": 137, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 138, "end": 152, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 138, "end": 152, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 138, "end": 147, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 140, "end": 145, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 140, "end": 145, "ctxt": 0 }, "value": "cause", "optional": false }, "value": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 150, "end": 152, "ctxt": 0 }, "properties": [] } } } ], "decorators": [], "span": { "start": 125, "end": 175, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 154, "end": 175, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 160, "end": 173, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 167, "end": 172, "ctxt": 0 }, "value": "cause", "optional": false } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }