comparison: js/src/jit-test/tests/arguments/rest-disallow-arguments-strict.js
js/src/jit-test/tests/arguments/rest-disallow-arguments-strict.js
- changeset 2
- 7e26c7da4463
equal
deleted
inserted
replaced
|
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); |