firescript
Version:
Firescript language
52 lines (51 loc) • 1.03 kB
JSON
{
"type": "ObjectExpression",
"properties": [
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "banana"
},
"computed": false,
"value": {
"type": "Literal",
"value": "Banana",
"raw": "'Banana'"
},
"kind": "init",
"method": false,
"shorthand": false
},
{
"type": "Property",
"key": {
"type": "Identifier",
"name": "getFruits"
},
"computed": false,
"value": {
"type": "FunctionExpression",
"id": null,
"params": [],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ThisExpression"
}
}
]
},
"generator": false,
"expression": false,
"async": false
},
"kind": "init",
"method": true,
"shorthand": false
}
]
}