tor-browser

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

var-env-lower-lex-strict-caller-strict.js (434B)


      1 'use strict';
      2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      3 // This code is governed by the BSD license found in the LICENSE file.
      4 /*---
      5 esid: sec-evaldeclarationinstantiation
      6 description: No variable collision with lexical binding in lower scope
      7 info: |
      8    [...]
      9    5. If strict is false, then
     10    [...]
     11 flags: [onlyStrict]
     12 features: [let]
     13 ---*/
     14 
     15 {
     16  let x;
     17  {
     18    eval('var x;');
     19  }
     20 }
     21 
     22 reportCompare(0, 0);