UNPKG

firescript

Version:
38 lines (37 loc) 1.05 kB
{ "type": "IfStatement", "test": { "type": "Identifier", "name": "foo" }, "consequent": { "type": "BlockStatement", "body": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "console" }, "property": { "type": "Identifier", "name": "log" } }, "arguments": [ { "type": "Identifier", "name": "foo" } ] } } ] }, "alternate": null }