firescript
Version:
Firescript transpiler
49 lines (48 loc) • 1.15 kB
JSON
{
"type": "Program",
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "foo"
},
"init": {
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "bar"
},
"computed": false,
"value": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "foo"
},
"arguments": [
{
"type": "Identifier",
"name": "bla"
}
]
},
"kind": "init",
"method": false,
"shorthand": false
}
]
}
}
],
"kind": "const"
}
]
}