{ "type": "File", "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, "program": { "type": "Program", "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "WhileStatement", "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, "test": { "type": "BinaryExpression", "start":7,"end":13,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":13,"index":13}}, "left": { "type": "Identifier", "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"}, "name": "x" }, "operator": "<", "right": { "type": "NumericLiteral", "start":11,"end":13,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":13,"index":13}}, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } }, "body": { "type": "BlockStatement", "start":15,"end":28,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":28,"index":28}}, "body": [ { "type": "ExpressionStatement", "start":17,"end":21,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":21,"index":21}}, "expression": { "type": "UpdateExpression", "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20}}, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"x"}, "name": "x" } } }, { "type": "ExpressionStatement", "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26}}, "expression": { "type": "UpdateExpression", "start":22,"end":25,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":25,"index":25}}, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"y"}, "name": "y" } } } ], "directives": [] } } ], "directives": [] } }