Introduction to Programming Languages
code-examples
Xassignmentexpresson Node

{
  "type": "AssignmentExpression",
  "operator": "=",
  "left": {
    "type": "Identifier",
    "name": "x"
  },
  "right": {
    "type": "Literal",
    "value": 1
  }
}
{
  "type": "AssignmentExpression",
  "operator": "=",
  "left": {
    "type": "Identifier",
    "name": "y"
  },
  "right": {
    "type": "Literal",
    "value": 2
  }
}