tor-browser

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

S13.2_A1_T1.js (621B)


      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: A "prototype" property is automatically created for every function
      6 es5id: 13.2_A1_T1
      7 description: Using "function __func(){}" as a FunctionDeclaration
      8 ---*/
      9 
     10 function __func(){};
     11 
     12 //////////////////////////////////////////////////////////////////////////////
     13 //CHECK#1
     14 if (__func.prototype === undefined) {
     15 throw new Test262Error('#1: __func.prototype !== undefined');
     16 }
     17 //
     18 //////////////////////////////////////////////////////////////////////////////
     19 
     20 reportCompare(0, 0);