swc/crates/swc_ecma_parser/tests/tsc/parserForStatement5.json

50 lines
852 B
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 17,
"ctxt": 0
},
"body": [
{
"type": "ForInStatement",
"span": {
"start": 0,
"end": 17,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 5,
"end": 7,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 11,
"end": 12,
"ctxt": 0
},
"value": "b",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 14,
"end": 17,
"ctxt": 0
},
"stmts": []
}
}
],
"interpreter": null
}