tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

rest-disallow-arguments-strict.js (230B)


      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);