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