js/src/jit-test/tests/arguments/rest-disallow-arguments-strict.js

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:8473009bc855
1 "use strict";
2 load(libdir + "asserts.js");
3 assertThrowsInstanceOf(function () {
4 eval("(function (...arguments) {})");
5 }, SyntaxError);
6 assertThrowsInstanceOf(function () {
7 eval("(function (...eval) {})");
8 }, SyntaxError);

mercurial