tor-browser

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

splice-call-plain-object-590780.js (228B)


      1 var o = { 0: 1, 1: 2, 2: 3, length: 3 };
      2 Array.prototype.splice.call(o, 0, 1);
      3 
      4 assertEq(o[0], 2);
      5 assertEq(o[1], 3);
      6 assertEq(Object.getOwnPropertyDescriptor(o, 2), undefined);
      7 assertEq("2" in o, false);
      8 assertEq(o.length, 2);