Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
8e141356ffcdfb2db6628621d2cc4b7db5cb0b55
/
.
/
test
/
parallel
/
test-bad-unicode.js
blob: 6dcabc8fd47b968b058f0e0bf96a4e7e1707253e [
file
] [
log
] [
blame
]
'use strict'
;
var
assert
=
require
(
'assert'
),
exception
=
null
;
try
{
eval
(
'"\\uc/ef"'
);
}
catch
(
e
)
{
exception
=
e
;
}
assert
(
exception instanceof
SyntaxError
);