firescript
Version:
Firescript transpiler
57 lines (56 loc) • 1.44 kB
JSON
{
"type": "Program",
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "bla"
},
"init": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "prop"
},
"computed": false,
"value": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "LogicalExpression",
"operator": "||",
"left": {
"type": "Identifier",
"name": "foo"
},
"right": {
"type": "Identifier",
"name": "bar"
}
},
"right": {
"type": "Literal",
"value": null,
"raw": "null"
}
},
"kind": "init",
"method": false,
"shorthand": false
}
]
}
}
],
"kind": "const"
}
]
}