swc/crates/swc_ecma_parser/tests/tsc/parserUnicode1.ts

12 lines
195 B
TypeScript

try {
var \u0078x = 6;
if (xx !== 6) {
$ERROR('#6.1: var \\u0078x = 1; xx === 6. Actual: ' + (xx));
}
}
catch (e) {
$ERROR('#6.2: var \\u0078x = 1; xx === 6. Actual: ' + (xx));
}