{ "type": "Script", "span": { "start": 17, "end": 157, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 26, "end": 27, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 17, "end": 157, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 30, "end": 157, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 36, "end": 60, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 40, "end": 59, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 40, "end": 49, "ctxt": 0 }, "value": "arguments", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 52, "end": 59, "ctxt": 0 }, "value": "hello", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 65, "end": 126, "ctxt": 0 }, "test": { "type": "CallExpression", "span": { "start": 69, "end": 82, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 69, "end": 80, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 69, "end": 73, "ctxt": 0 }, "value": "Math", "optional": false }, "property": { "type": "Identifier", "span": { "start": 74, "end": 80, "ctxt": 0 }, "value": "random", "optional": false } }, "arguments": [], "typeArguments": null }, "consequent": { "type": "BlockStatement", "span": { "start": 84, "end": 126, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 94, "end": 120, "ctxt": 0 }, "argument": { "type": "ArrowFunctionExpression", "span": { "start": 101, "end": 119, "ctxt": 0 }, "params": [], "body": { "type": "MemberExpression", "span": { "start": 107, "end": 119, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 107, "end": 116, "ctxt": 0 }, "value": "arguments", "optional": false }, "property": { "type": "Computed", "span": { "start": 116, "end": 119, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 117, "end": 118, "ctxt": 0 }, "value": 0.0 } } }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ] }, "alternate": null }, { "type": "VariableDeclaration", "span": { "start": 131, "end": 155, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 135, "end": 154, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 135, "end": 144, "ctxt": 0 }, "value": "arguments", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 147, "end": 154, "ctxt": 0 }, "value": "world", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }