{ "type": "Script", "span": { "start": 20, "end": 117, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 29, "end": 32, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 20, "end": 59, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 35, "end": 59, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 41, "end": 57, "ctxt": 0 }, "argument": { "type": "ObjectExpression", "span": { "start": 48, "end": 56, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 50, "end": 51, "ctxt": 0 }, "value": "x", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 53, "end": 54, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "ForOfStatement", "span": { "start": 60, "end": 117, "ctxt": 0 }, "await": false, "left": { "type": "MemberExpression", "span": { "start": 65, "end": 72, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 65, "end": 70, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 65, "end": 68, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 71, "end": 72, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "ArrayExpression", "span": { "start": 76, "end": 91, "ctxt": 0 }, "elements": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 77, "end": 80, "ctxt": 0 }, "value": "a", "raw": "'a'" } }, { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 82, "end": 85, "ctxt": 0 }, "value": "b", "raw": "'b'" } }, { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 87, "end": 90, "ctxt": 0 }, "value": "c", "raw": "'c'" } } ] }, "body": { "type": "BlockStatement", "span": { "start": 93, "end": 117, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 99, "end": 115, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 103, "end": 114, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 103, "end": 104, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 107, "end": 114, "ctxt": 0 }, "object": { "type": "CallExpression", "span": { "start": 107, "end": 112, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 107, "end": 110, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null }, "property": { "type": "Identifier", "span": { "start": 113, "end": 114, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] } ] } } ], "interpreter": null }