swc/crates/swc_ecma_parser/tests/tsc/parserStrictMode15-negative.json

83 lines
1.6 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 27,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1,
"end": 13,
"ctxt": 0
},
"value": "use strict",
"raw": "\"use strict\""
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 15,
"end": 27,
"ctxt": 0
},
"expression": {
"type": "UnaryExpression",
"span": {
"start": 15,
"end": 26,
"ctxt": 0
},
"operator": "delete",
"argument": {
"type": "MemberExpression",
"span": {
"start": 22,
"end": 26,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 22,
"end": 23,
"ctxt": 0
},
"value": "a",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 23,
"end": 26,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 24,
"end": 25,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
}
}
}
],
"interpreter": null
}