2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2011 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
2021-01-20 21:03:49 +01:00
|
|
|
esid: sec-identifiers-static-semantics-early-errors
|
2014-07-22 01:09:02 +02:00
|
|
|
info: The "package" token can be used as identifier in non-strict code
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 7.6.1.2_A1.21ns
|
2014-07-22 01:09:02 +02:00
|
|
|
description: Checking if execution of "package=1" succeeds in non-strict code
|
|
|
|
flags: [noStrict]
|
|
|
|
---*/
|
2011-09-07 08:35:18 +02:00
|
|
|
|
2011-09-14 07:37:44 +02:00
|
|
|
var package = 1;
|
2021-01-20 21:03:49 +01:00
|
|
|
var pack\u0061ge = 2;
|
|
|
|
|
|
|
|
{ let package = 3; }
|
|
|
|
{ let pack\u0061ge = 4; }
|
|
|
|
|
|
|
|
{ const package = 5; }
|
|
|
|
{ const pack\u0061ge = 6; }
|