1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "b", 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": "NumberLiteral", 26 "value": 0, 27 "loc": { 28 "start": { 29 "line": 16, 30 "column": 9 31 }, 32 "end": { 33 "line": 16, 34 "column": 10 35 } 36 } 37 }, 38 "loc": { 39 "start": { 40 "line": 16, 41 "column": 5 42 }, 43 "end": { 44 "line": 16, 45 "column": 10 46 } 47 } 48 } 49 ], 50 "kind": "let", 51 "loc": { 52 "start": { 53 "line": 16, 54 "column": 1 55 }, 56 "end": { 57 "line": 16, 58 "column": 10 59 } 60 } 61 }, 62 { 63 "type": "ForUpdateStatement", 64 "init": { 65 "type": "VariableDeclaration", 66 "declarations": [ 67 { 68 "type": "VariableDeclarator", 69 "id": { 70 "type": "Identifier", 71 "name": "i", 72 "typeAnnotation": { 73 "type": "TSNumberKeyword", 74 "loc": { 75 "start": { 76 "line": 18, 77 "column": 13 78 }, 79 "end": { 80 "line": 18, 81 "column": 19 82 } 83 } 84 }, 85 "decorators": [], 86 "loc": { 87 "start": { 88 "line": 18, 89 "column": 10 90 }, 91 "end": { 92 "line": 18, 93 "column": 11 94 } 95 } 96 }, 97 "init": { 98 "type": "NumberLiteral", 99 "value": 1, 100 "loc": { 101 "start": { 102 "line": 18, 103 "column": 22 104 }, 105 "end": { 106 "line": 18, 107 "column": 23 108 } 109 } 110 }, 111 "loc": { 112 "start": { 113 "line": 18, 114 "column": 10 115 }, 116 "end": { 117 "line": 18, 118 "column": 23 119 } 120 } 121 } 122 ], 123 "kind": "let", 124 "loc": { 125 "start": { 126 "line": 18, 127 "column": 6 128 }, 129 "end": { 130 "line": 18, 131 "column": 23 132 } 133 } 134 }, 135 "test": { 136 "type": "BinaryExpression", 137 "operator": "<", 138 "left": { 139 "type": "Identifier", 140 "name": "i", 141 "decorators": [], 142 "loc": { 143 "start": { 144 "line": 18, 145 "column": 25 146 }, 147 "end": { 148 "line": 18, 149 "column": 26 150 } 151 } 152 }, 153 "right": { 154 "type": "NumberLiteral", 155 "value": 10, 156 "loc": { 157 "start": { 158 "line": 18, 159 "column": 29 160 }, 161 "end": { 162 "line": 18, 163 "column": 31 164 } 165 } 166 }, 167 "loc": { 168 "start": { 169 "line": 18, 170 "column": 25 171 }, 172 "end": { 173 "line": 18, 174 "column": 31 175 } 176 } 177 }, 178 "update": { 179 "type": "UpdateExpression", 180 "operator": "++", 181 "prefix": false, 182 "argument": { 183 "type": "Identifier", 184 "name": "i", 185 "decorators": [], 186 "loc": { 187 "start": { 188 "line": 18, 189 "column": 33 190 }, 191 "end": { 192 "line": 18, 193 "column": 34 194 } 195 } 196 }, 197 "loc": { 198 "start": { 199 "line": 18, 200 "column": 33 201 }, 202 "end": { 203 "line": 18, 204 "column": 36 205 } 206 } 207 }, 208 "body": { 209 "type": "BlockStatement", 210 "statements": [ 211 { 212 "type": "ExpressionStatement", 213 "expression": { 214 "type": "AssignmentExpression", 215 "operator": "=", 216 "left": { 217 "type": "Identifier", 218 "name": "b", 219 "decorators": [], 220 "loc": { 221 "start": { 222 "line": 19, 223 "column": 4 224 }, 225 "end": { 226 "line": 19, 227 "column": 5 228 } 229 } 230 }, 231 "right": { 232 "type": "BinaryExpression", 233 "operator": "+", 234 "left": { 235 "type": "Identifier", 236 "name": "b", 237 "decorators": [], 238 "loc": { 239 "start": { 240 "line": 19, 241 "column": 8 242 }, 243 "end": { 244 "line": 19, 245 "column": 9 246 } 247 } 248 }, 249 "right": { 250 "type": "Identifier", 251 "name": "i", 252 "decorators": [], 253 "loc": { 254 "start": { 255 "line": 19, 256 "column": 12 257 }, 258 "end": { 259 "line": 19, 260 "column": 13 261 } 262 } 263 }, 264 "loc": { 265 "start": { 266 "line": 19, 267 "column": 8 268 }, 269 "end": { 270 "line": 19, 271 "column": 13 272 } 273 } 274 }, 275 "loc": { 276 "start": { 277 "line": 19, 278 "column": 4 279 }, 280 "end": { 281 "line": 19, 282 "column": 13 283 } 284 } 285 }, 286 "loc": { 287 "start": { 288 "line": 19, 289 "column": 4 290 }, 291 "end": { 292 "line": 19, 293 "column": 13 294 } 295 } 296 } 297 ], 298 "loc": { 299 "start": { 300 "line": 18, 301 "column": 38 302 }, 303 "end": { 304 "line": 20, 305 "column": 2 306 } 307 } 308 }, 309 "loc": { 310 "start": { 311 "line": 18, 312 "column": 1 313 }, 314 "end": { 315 "line": 20, 316 "column": 2 317 } 318 } 319 } 320 ], 321 "loc": { 322 "start": { 323 "line": 1, 324 "column": 1 325 }, 326 "end": { 327 "line": 21, 328 "column": 1 329 } 330 } 331} 332