Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
parser
/
modifier-arrow-rest.js
blob: e66aa5c37dd8f41e17b0db70b76f4350d957f098 [
file
] [
log
] [
blame
]
load
(
libdir
+
"syntax.js"
);
var
postfixes
=
[
"...foo) => 1 @"
,
];
function
check_syntax_error
(
e
,
code
)
{
assertEq
(
e instanceof
SyntaxError
,
true
);
}
test_syntax
(
postfixes
,
check_syntax_error
,
true
);