1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ExpressionStatement", 6 "expression": { 7 "type": "AssignmentExpression", 8 "operator": "=", 9 "left": { 10 "type": "ObjectPattern", 11 "properties": [ 12 { 13 "type": "Property", 14 "method": false, 15 "shorthand": true, 16 "computed": false, 17 "key": { 18 "type": "Identifier", 19 "name": "a", 20 "decorators": [], 21 "loc": { 22 "start": { 23 "line": 16, 24 "column": 3 25 }, 26 "end": { 27 "line": 16, 28 "column": 4 29 } 30 } 31 }, 32 "value": { 33 "type": "Identifier", 34 "name": "a", 35 "decorators": [], 36 "loc": { 37 "start": { 38 "line": 16, 39 "column": 3 40 }, 41 "end": { 42 "line": 16, 43 "column": 4 44 } 45 } 46 }, 47 "kind": "init", 48 "loc": { 49 "start": { 50 "line": 16, 51 "column": 3 52 }, 53 "end": { 54 "line": 16, 55 "column": 4 56 } 57 } 58 } 59 ], 60 "loc": { 61 "start": { 62 "line": 16, 63 "column": 2 64 }, 65 "end": { 66 "line": 16, 67 "column": 5 68 } 69 } 70 }, 71 "right": { 72 "type": "ObjectExpression", 73 "properties": [ 74 { 75 "type": "Property", 76 "method": false, 77 "shorthand": false, 78 "computed": false, 79 "key": { 80 "type": "Identifier", 81 "name": "a", 82 "decorators": [], 83 "loc": { 84 "start": { 85 "line": 16, 86 "column": 9 87 }, 88 "end": { 89 "line": 16, 90 "column": 10 91 } 92 } 93 }, 94 "value": { 95 "type": "NumberLiteral", 96 "value": 3, 97 "loc": { 98 "start": { 99 "line": 16, 100 "column": 13 101 }, 102 "end": { 103 "line": 16, 104 "column": 14 105 } 106 } 107 }, 108 "kind": "init", 109 "loc": { 110 "start": { 111 "line": 16, 112 "column": 9 113 }, 114 "end": { 115 "line": 16, 116 "column": 14 117 } 118 } 119 } 120 ], 121 "loc": { 122 "start": { 123 "line": 16, 124 "column": 8 125 }, 126 "end": { 127 "line": 16, 128 "column": 15 129 } 130 } 131 }, 132 "loc": { 133 "start": { 134 "line": 16, 135 "column": 1 136 }, 137 "end": { 138 "line": 16, 139 "column": 16 140 } 141 } 142 }, 143 "loc": { 144 "start": { 145 "line": 16, 146 "column": 1 147 }, 148 "end": { 149 "line": 16, 150 "column": 16 151 } 152 } 153 } 154 ], 155 "loc": { 156 "start": { 157 "line": 1, 158 "column": 1 159 }, 160 "end": { 161 "line": 18, 162 "column": 1 163 } 164 } 165} 166TypeError: Cannot find name 'a'. [objectDestructuring32.ts:16:3] 167