Skip to content

Instantly share code, notes, and snippets.

@why-jay
Created December 8, 2014 05:08
Show Gist options
  • Save why-jay/80f02f0c4ab65b14b302 to your computer and use it in GitHub Desktop.
Save why-jay/80f02f0c4ab65b14b302 to your computer and use it in GitHub Desktop.
"var x = 1" in Mozilla Parser API
{
"type": "Program",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "x"
},
"init": {
"type": "Literal",
"value": 1,
"raw": "1"
}
}
],
"kind": "var"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment