nashorn/test/script/nosecurity/treeapi/let.js.EXPECTED
author sundar
Tue, 12 Jul 2016 21:18:13 +0530
changeset 39662 e2b36a3779b9
permissions -rw-r--r--
8149929: Nashorn Parser API needs to be updated for ES6 Reviewed-by: mhaupt, hannesw

[
  {
    "endPosition": "10",
    "kind": "VARIABLE",
    "binding": {
      "endPosition": "6",
      "kind": "IDENTIFIER",
      "name": "x",
      "startPosition": "5"
    },
    "let": "true",
    "startPosition": "1",
    "initializer": {
      "endPosition": "10",
      "kind": "NUMBER_LITERAL",
      "value": "3",
      "startPosition": "9"
    }
  }
]