1{
2    "type": "Program",
3    "body": [
4        {
5            "type": "ThrowStatement",
6            "argument": {
7                "type": "Identifier",
8                "name": "err"
9            }
10        }
11    ]
12}
13{
14    "type": "Program",
15    "body": [
16        {
17            "type": "ThrowStatement",
18            "argument": {
19                "type": "Literal",
20                "value": "wrong"
21            }
22        }
23    ]
24}
25{
26    "type": "Program",
27    "body": [
28        {
29            "type": "ThrowStatement",
30            "argument": {
31                "type": "NewExpression",
32                "callee": {
33                    "type": "Identifier",
34                    "name": "TypeError"
35                },
36                "arguments": []
37            }
38        }
39    ]
40}
41{
42    "type": "Program",
43    "body": [
44        {
45            "type": "ThrowStatement",
46            "argument": {
47                "type": "NewExpression",
48                "callee": {
49                    "type": "Identifier",
50                    "name": "TypeError"
51                },
52                "arguments": [
53                    {
54                        "type": "Literal",
55                        "value": "not an array"
56                    }
57                ]
58            }
59        }
60    ]
61}
62{
63    "type": "Program",
64    "body": [
65        {
66            "type": "ThrowStatement",
67            "argument": {
68                "type": "ObjectExpression",
69                "properties": [
70                    {
71                        "key": {
72                            "type": "Identifier",
73                            "name": "msg"
74                        },
75                        "value": {
76                            "type": "Literal",
77                            "value": "wrong!"
78                        },
79                        "kind": "init"
80                    }
81                ]
82            }
83        }
84    ]
85}
86