firescript
Version:
Firescript transpiler
18 lines (17 loc) • 473 B
JSON
{
"type": "ConditionalExpression",
"test": {
"type": "Identifier",
"name": "banana"
},
"consequent": {
"type": "Literal",
"value": "I am going to eat a couple of fresh bananas",
"raw": "'I am going to eat a couple of fresh bananas'"
},
"alternate": {
"type": "Literal",
"value": "I am going to eat a couple of fresh pears",
"raw": "'I am going to eat a couple of fresh pears'"
}
}