tor-browser

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

RegExpExec-errors.js (356B)


      1 load(libdir + "asserts.js");
      2 
      3 assertErrorMessage(() => RegExp.prototype.test.call({}), TypeError,
      4                   /RegExp.prototype.test called on incompatible receiver: Object/);
      5 assertErrorMessage(() => RegExp.prototype[Symbol.match].call([]), TypeError,
      6                   /RegExp.prototype.\[Symbol\.match\] called on incompatible receiver: Array/);