Skip to content

Instantly share code, notes, and snippets.

@jeremyheiler
Last active December 24, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyheiler/6788266 to your computer and use it in GitHub Desktop.
Save jeremyheiler/6788266 to your computer and use it in GitHub Desktop.
// var foo = bar = 42;
{
"type": "Program",
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "foo"
},
"init": {
"type": "AssignmentExpression",
"operator": "=",
"left": {
"type": "Identifier",
"name": "bar"
},
"right": {
"type": "Literal",
"value": 42
}
}
}
],
"kind": "var"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment