tor-browser

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

10.5-7-b-4-s.js (603B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 10.5-7-b-4-s
      6 description: >
      7    Deleting property of the arguments object successful under strict mode
      8 ---*/
      9 
     10 function _10_5_7_b_4_fun() {
     11    var _10_5_7_b_4_1 = arguments[0] === 30 && arguments[1] === 12;
     12    delete arguments[1];
     13    var _10_5_7_b_4_2 = arguments[0] === 30 && typeof arguments[1] === "undefined";
     14    return _10_5_7_b_4_1 && _10_5_7_b_4_2;
     15 };
     16 
     17 assert(_10_5_7_b_4_fun(30, 12), '_10_5_7_b_4_fun(30, 12) !== true');
     18 
     19 reportCompare(0, 0);