• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "VariableDeclaration",
6      "declarations": [
7        {
8          "type": "VariableDeclarator",
9          "id": {
10            "type": "Identifier",
11            "name": "a",
12            "decorators": [],
13            "loc": {
14              "start": {
15                "line": 16,
16                "column": 5
17              },
18              "end": {
19                "line": 16,
20                "column": 6
21              }
22            }
23          },
24          "init": {
25            "type": "NewExpression",
26            "callee": {
27              "type": "NumberLiteral",
28              "value": 5,
29              "loc": {
30                "start": {
31                  "line": 16,
32                  "column": 13
33                },
34                "end": {
35                  "line": 16,
36                  "column": 14
37                }
38              }
39            },
40            "arguments": [],
41            "loc": {
42              "start": {
43                "line": 16,
44                "column": 9
45              },
46              "end": {
47                "line": 16,
48                "column": 14
49              }
50            }
51          },
52          "loc": {
53            "start": {
54              "line": 16,
55              "column": 5
56            },
57            "end": {
58              "line": 16,
59              "column": 14
60            }
61          }
62        }
63      ],
64      "kind": "let",
65      "loc": {
66        "start": {
67          "line": 16,
68          "column": 1
69        },
70        "end": {
71          "line": 16,
72          "column": 15
73        }
74      }
75    }
76  ],
77  "loc": {
78    "start": {
79      "line": 1,
80      "column": 1
81    },
82    "end": {
83      "line": 17,
84      "column": 1
85    }
86  }
87}
88TypeError: This expression is not callable. [call_expression_1.ts:16:9]
89