17 lines
433 B
Text
17 lines
433 B
Text
|
==== tests/cases/conformance/parser/ecmascript5/parserUnicode1.ts (2 errors) ====
|
||
|
try {
|
||
|
var \u0078x = 6;
|
||
|
|
||
|
if (xx !== 6) {
|
||
|
|
||
|
$ERROR('#6.1: var \\u0078x = 1; xx === 6. Actual: ' + (xx));
|
||
|
~~~~~~
|
||
|
!!! Cannot find name '$ERROR'.
|
||
|
}
|
||
|
}
|
||
|
catch (e) {
|
||
|
$ERROR('#6.2: var \\u0078x = 1; xx === 6. Actual: ' + (xx));
|
||
|
~~~~~~
|
||
|
!!! Cannot find name '$ERROR'.
|
||
|
|
||
|
}
|