tor-browser

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

S13_A14_T1.js (650B)


      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: Unicode symbols in function name are allowed
      6 es5id: 13_A14
      7 description: Defining function name with unicode symbols
      8 flags: [noStrict]
      9 ---*/
     10 
     11 eval("function __func\u0041(__arg){return __arg;};");
     12 
     13 //////////////////////////////////////////////////////////////////////////////
     14 //CHECK#1
     15 if (typeof __funcA !== "function") {
     16 throw new Test262Error('#1: unicode symbols in function name are allowed');
     17 }
     18 //
     19 //////////////////////////////////////////////////////////////////////////////
     20 
     21 reportCompare(0, 0);