package.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 "package" token can be used as identifier in non-strict code 7 es5id: 7.6.1.2_A1.21ns 8 description: Checking if execution of "package=1" succeeds in non-strict code 9 flags: [noStrict] 10 ---*/ 11 12 var package = 1; 13 var pack\u0061ge = 2; 14 15 { let package = 3; } 16 { let pack\u0061ge = 4; } 17 18 { const package = 5; } 19 { const pack\u0061ge = 6; } 20 21 reportCompare(0, 0);