tor-browser

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

private.js (549B)


      1 // Copyright 2011 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-identifiers-static-semantics-early-errors
      6 info: The "private" token can be used as identifier in non-strict code
      7 es5id: 7.6.1.2_A1.22ns
      8 description: Checking if execution of "private=1" succeeds in non-strict code
      9 flags: [noStrict]
     10 ---*/
     11 
     12 var private = 1;
     13 var priv\u0061te = 2;
     14 
     15 { let private = 3; }
     16 { let priv\u0061te = 4; }
     17 
     18 { const private = 5; }
     19 { const priv\u0061te = 6; }
     20 
     21 reportCompare(0, 0);