| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":144,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":144}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":144,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":3,"index":144}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "VariableDeclaration", |
| 12 |
"start":2,"end":18,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":18,"index":18}}, |
| 13 |
"declarations": [ |
| 14 |
{ |
| 15 |
"type": "VariableDeclarator", |
| 16 |
"start":6,"end":17,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":17,"index":17}}, |
| 17 |
"id": { |
| 18 |
"type": "Identifier", |
| 19 |
"start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13},"identifierName":"effects"}, |
| 20 |
"name": "effects" |
| 21 |
}, |
| 22 |
"init": { |
| 23 |
"type": "NumericLiteral", |
| 24 |
"start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17}}, |
| 25 |
"extra": { |
| 26 |
"rawValue": 0, |
| 27 |
"raw": "0" |
| 28 |
}, |
| 29 |
"value": 0 |
| 30 |
} |
| 31 |
} |
| 32 |
], |
| 33 |
"kind": "var" |
| 34 |
}, |
| 35 |
{ |
| 36 |
"type": "VariableDeclaration", |
| 37 |
"start":21,"end":40,"loc":{"start":{"line":2,"column":2,"index":21},"end":{"line":2,"column":21,"index":40}}, |
| 38 |
"declarations": [ |
| 39 |
{ |
| 40 |
"type": "VariableDeclarator", |
| 41 |
"start":25,"end":39,"loc":{"start":{"line":2,"column":6,"index":25},"end":{"line":2,"column":20,"index":39}}, |
| 42 |
"id": { |
| 43 |
"type": "Identifier", |
| 44 |
"start":25,"end":35,"loc":{"start":{"line":2,"column":6,"index":25},"end":{"line":2,"column":16,"index":35},"identifierName":"iterations"}, |
| 45 |
"name": "iterations" |
| 46 |
}, |
| 47 |
"init": { |
| 48 |
"type": "NumericLiteral", |
| 49 |
"start":38,"end":39,"loc":{"start":{"line":2,"column":19,"index":38},"end":{"line":2,"column":20,"index":39}}, |
| 50 |
"extra": { |
| 51 |
"rawValue": 0, |
| 52 |
"raw": "0" |
| 53 |
}, |
| 54 |
"value": 0 |
| 55 |
} |
| 56 |
} |
| 57 |
], |
| 58 |
"kind": "var" |
| 59 |
}, |
| 60 |
{ |
| 61 |
"type": "VariableDeclaration", |
| 62 |
"start":43,"end":54,"loc":{"start":{"line":3,"column":2,"index":43},"end":{"line":3,"column":13,"index":54}}, |
| 63 |
"declarations": [ |
| 64 |
{ |
| 65 |
"type": "VariableDeclarator", |
| 66 |
"start":47,"end":53,"loc":{"start":{"line":3,"column":6,"index":47},"end":{"line":3,"column":12,"index":53}}, |
| 67 |
"id": { |
| 68 |
"type": "Identifier", |
| 69 |
"start":47,"end":53,"loc":{"start":{"line":3,"column":6,"index":47},"end":{"line":3,"column":12,"index":53},"identifierName":"stored"}, |
| 70 |
"name": "stored" |
| 71 |
}, |
| 72 |
"init": null |
| 73 |
} |
| 74 |
], |
| 75 |
"kind": "var" |
| 76 |
}, |
| 77 |
{ |
| 78 |
"type": "ForInStatement", |
| 79 |
"start":57,"end":144,"loc":{"start":{"line":4,"column":2,"index":57},"end":{"line":6,"column":3,"index":144}}, |
| 80 |
"left": { |
| 81 |
"type": "VariableDeclaration", |
| 82 |
"start":62,"end":85,"loc":{"start":{"line":4,"column":7,"index":62},"end":{"line":4,"column":30,"index":85}}, |
| 83 |
"declarations": [ |
| 84 |
{ |
| 85 |
"type": "VariableDeclarator", |
| 86 |
"start":66,"end":85,"loc":{"start":{"line":4,"column":11,"index":66},"end":{"line":4,"column":30,"index":85}}, |
| 87 |
"id": { |
| 88 |
"type": "Identifier", |
| 89 |
"start":66,"end":67,"loc":{"start":{"line":4,"column":11,"index":66},"end":{"line":4,"column":12,"index":67},"identifierName":"a"}, |
| 90 |
"name": "a" |
| 91 |
}, |
| 92 |
"init": { |
| 93 |
"type": "SequenceExpression", |
| 94 |
"start":71,"end":84,"loc":{"start":{"line":4,"column":16,"index":71},"end":{"line":4,"column":29,"index":84}}, |
| 95 |
"expressions": [ |
| 96 |
{ |
| 97 |
"type": "UpdateExpression", |
| 98 |
"start":71,"end":80,"loc":{"start":{"line":4,"column":16,"index":71},"end":{"line":4,"column":25,"index":80}}, |
| 99 |
"operator": "++", |
| 100 |
"prefix": true, |
| 101 |
"argument": { |
| 102 |
"type": "Identifier", |
| 103 |
"start":73,"end":80,"loc":{"start":{"line":4,"column":18,"index":73},"end":{"line":4,"column":25,"index":80},"identifierName":"effects"}, |
| 104 |
"name": "effects" |
| 105 |
} |
| 106 |
}, |
| 107 |
{ |
| 108 |
"type": "UnaryExpression", |
| 109 |
"start":82,"end":84,"loc":{"start":{"line":4,"column":27,"index":82},"end":{"line":4,"column":29,"index":84}}, |
| 110 |
"operator": "-", |
| 111 |
"prefix": true, |
| 112 |
"argument": { |
| 113 |
"type": "NumericLiteral", |
| 114 |
"start":83,"end":84,"loc":{"start":{"line":4,"column":28,"index":83},"end":{"line":4,"column":29,"index":84}}, |
| 115 |
"extra": { |
| 116 |
"rawValue": 1, |
| 117 |
"raw": "1" |
| 118 |
}, |
| 119 |
"value": 1 |
| 120 |
} |
| 121 |
} |
| 122 |
], |
| 123 |
"extra": { |
| 124 |
"parenthesized": true, |
| 125 |
"parenStart": 70 |
| 126 |
} |
| 127 |
} |
| 128 |
} |
| 129 |
], |
| 130 |
"kind": "var" |
| 131 |
}, |
| 132 |
"right": { |
| 133 |
"type": "SequenceExpression", |
| 134 |
"start":89,"end":119,"loc":{"start":{"line":4,"column":34,"index":89},"end":{"line":4,"column":64,"index":119}}, |
| 135 |
"expressions": [ |
| 136 |
{ |
| 137 |
"type": "AssignmentExpression", |
| 138 |
"start":89,"end":99,"loc":{"start":{"line":4,"column":34,"index":89},"end":{"line":4,"column":44,"index":99}}, |
| 139 |
"operator": "=", |
| 140 |
"left": { |
| 141 |
"type": "Identifier", |
| 142 |
"start":89,"end":95,"loc":{"start":{"line":4,"column":34,"index":89},"end":{"line":4,"column":40,"index":95},"identifierName":"stored"}, |
| 143 |
"name": "stored" |
| 144 |
}, |
| 145 |
"right": { |
| 146 |
"type": "Identifier", |
| 147 |
"start":98,"end":99,"loc":{"start":{"line":4,"column":43,"index":98},"end":{"line":4,"column":44,"index":99},"identifierName":"a"}, |
| 148 |
"name": "a" |
| 149 |
} |
| 150 |
}, |
| 151 |
{ |
| 152 |
"type": "ObjectExpression", |
| 153 |
"start":101,"end":119,"loc":{"start":{"line":4,"column":46,"index":101},"end":{"line":4,"column":64,"index":119}}, |
| 154 |
"properties": [ |
| 155 |
{ |
| 156 |
"type": "ObjectProperty", |
| 157 |
"start":102,"end":106,"loc":{"start":{"line":4,"column":47,"index":102},"end":{"line":4,"column":51,"index":106}}, |
| 158 |
"method": false, |
| 159 |
"key": { |
| 160 |
"type": "Identifier", |
| 161 |
"start":102,"end":103,"loc":{"start":{"line":4,"column":47,"index":102},"end":{"line":4,"column":48,"index":103},"identifierName":"a"}, |
| 162 |
"name": "a" |
| 163 |
}, |
| 164 |
"computed": false, |
| 165 |
"shorthand": false, |
| 166 |
"value": { |
| 167 |
"type": "NumericLiteral", |
| 168 |
"start":105,"end":106,"loc":{"start":{"line":4,"column":50,"index":105},"end":{"line":4,"column":51,"index":106}}, |
| 169 |
"extra": { |
| 170 |
"rawValue": 0, |
| 171 |
"raw": "0" |
| 172 |
}, |
| 173 |
"value": 0 |
| 174 |
} |
| 175 |
}, |
| 176 |
{ |
| 177 |
"type": "ObjectProperty", |
| 178 |
"start":108,"end":112,"loc":{"start":{"line":4,"column":53,"index":108},"end":{"line":4,"column":57,"index":112}}, |
| 179 |
"method": false, |
| 180 |
"key": { |
| 181 |
"type": "Identifier", |
| 182 |
"start":108,"end":109,"loc":{"start":{"line":4,"column":53,"index":108},"end":{"line":4,"column":54,"index":109},"identifierName":"b"}, |
| 183 |
"name": "b" |
| 184 |
}, |
| 185 |
"computed": false, |
| 186 |
"shorthand": false, |
| 187 |
"value": { |
| 188 |
"type": "NumericLiteral", |
| 189 |
"start":111,"end":112,"loc":{"start":{"line":4,"column":56,"index":111},"end":{"line":4,"column":57,"index":112}}, |
| 190 |
"extra": { |
| 191 |
"rawValue": 1, |
| 192 |
"raw": "1" |
| 193 |
}, |
| 194 |
"value": 1 |
| 195 |
} |
| 196 |
}, |
| 197 |
{ |
| 198 |
"type": "ObjectProperty", |
| 199 |
"start":114,"end":118,"loc":{"start":{"line":4,"column":59,"index":114},"end":{"line":4,"column":63,"index":118}}, |
| 200 |
"method": false, |
| 201 |
"key": { |
| 202 |
"type": "Identifier", |
| 203 |
"start":114,"end":115,"loc":{"start":{"line":4,"column":59,"index":114},"end":{"line":4,"column":60,"index":115},"identifierName":"c"}, |
| 204 |
"name": "c" |
| 205 |
}, |
| 206 |
"computed": false, |
| 207 |
"shorthand": false, |
| 208 |
"value": { |
| 209 |
"type": "NumericLiteral", |
| 210 |
"start":117,"end":118,"loc":{"start":{"line":4,"column":62,"index":117},"end":{"line":4,"column":63,"index":118}}, |
| 211 |
"extra": { |
| 212 |
"rawValue": 2, |
| 213 |
"raw": "2" |
| 214 |
}, |
| 215 |
"value": 2 |
| 216 |
} |
| 217 |
} |
| 218 |
] |
| 219 |
} |
| 220 |
] |
| 221 |
}, |
| 222 |
"body": { |
| 223 |
"type": "BlockStatement", |
| 224 |
"start":121,"end":144,"loc":{"start":{"line":4,"column":66,"index":121},"end":{"line":6,"column":3,"index":144}}, |
| 225 |
"body": [ |
| 226 |
{ |
| 227 |
"type": "ExpressionStatement", |
| 228 |
"start":127,"end":140,"loc":{"start":{"line":5,"column":4,"index":127},"end":{"line":5,"column":17,"index":140}}, |
| 229 |
"expression": { |
| 230 |
"type": "UpdateExpression", |
| 231 |
"start":127,"end":139,"loc":{"start":{"line":5,"column":4,"index":127},"end":{"line":5,"column":16,"index":139}}, |
| 232 |
"operator": "++", |
| 233 |
"prefix": true, |
| 234 |
"argument": { |
| 235 |
"type": "Identifier", |
| 236 |
"start":129,"end":139,"loc":{"start":{"line":5,"column":6,"index":129},"end":{"line":5,"column":16,"index":139},"identifierName":"iterations"}, |
| 237 |
"name": "iterations" |
| 238 |
} |
| 239 |
} |
| 240 |
} |
| 241 |
], |
| 242 |
"directives": [] |
| 243 |
} |
| 244 |
} |
| 245 |
], |
| 246 |
"directives": [] |
| 247 |
} |
| 248 |
} |