var-env-gloabl-lex-strict-caller-strict.js (409B)
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 global lexical binding 7 info: | 8 [...] 9 5. If strict is false, then 10 [...] 11 flags: [onlyStrict] 12 features: [let] 13 ---*/ 14 15 let x; 16 17 eval('var x;'); 18 19 reportCompare(0, 0);