24 lines
463 B
TypeScript
24 lines
463 B
TypeScript
//// [parserUnicode1.ts]
|
|
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));
|
|
|
|
}
|
|
|
|
//// [parserUnicode1.js]
|
|
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));
|
|
}
|