tor-browser

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

S8.12.6_A2_T1.js (779B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: |
      6    When the [[HasProperty]] method of O is called with property name P and if O has not a property with name P
      7    then If the [[Prototype]] of O is null, return false or call the [[HasProperty]] method of [[Prototype]] with property name P
      8 es5id: 8.12.6_A2_T1
      9 description: Try find not existent property of any Object
     10 ---*/
     11 
     12 var __obj={};
     13 
     14 //////////////////////////////////////////////////////////////////////////////
     15 //CHECK#1
     16 if (!("valueOf" in __obj)) {
     17  throw new Test262Error('#1: var __obj={}; "valueOf" in __obj');
     18 }
     19 //
     20 //////////////////////////////////////////////////////////////////////////////
     21 
     22 reportCompare(0, 0);