Debian Codegraph @

js/src/jit-test/tests/parser/modifier-arrow-rest.js

raw
1 load(libdir + "syntax.js");
2
3 var postfixes = [
4 "...foo) => 1 @",
5 ];
6
7 function check_syntax_error(e, code) {
8 assertEq(e instanceof SyntaxError, true);
9 }
10
11 test_syntax(postfixes, check_syntax_error, true);