Marko v3: Added test for parseJavaScriptArgs

This commit is contained in:
Patrick Steele-Idem 2016-01-19 10:52:22 -07:00
parent 426ec24069
commit 7db74bf05b
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
[
{
"type": "Literal",
"value": "Hello, John"
},
{
"type": "BinaryExpression",
"left": {
"type": "Identifier",
"name": "abc"
},
"operator": "+",
"right": {
"type": "Literal",
"value": 123
}
}
]

View File

@ -0,0 +1 @@
"Hello, John", (abc + 123)