Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrow-functions
/
close-paren-arrow-after-expr.js
blob: a9ecb7caaa36f98158f53e25eab49ca7be88ceaa [
file
] [
log
] [
blame
]
var
caught
=
false
;
try
{
eval
(
"1\n)=>"
);
}
catch
(
e
)
{
assertEq
(
e instanceof
SyntaxError
,
true
);
caught
=
true
;
}
assertEq
(
caught
,
true
);