| Index: pkg/compiler/lib/src/js_backend/namer.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
|
| index 36663d9704d1d7c2667ce9b410625bbf8af7eb8e..28f8e5a2e45c2405e77deae7ed128bc8ba6d24a6 100644
|
| --- a/pkg/compiler/lib/src/js_backend/namer.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/namer.dart
|
| @@ -25,7 +25,12 @@ class Namer implements ClosureNamer {
|
| ];
|
|
|
| static const reservedPropertySymbols =
|
| - const <String>["__proto__", "prototype", "constructor", "call"];
|
| + const <String>[
|
| + "__proto__", "prototype", "constructor", "call",
|
| + // "use strict" disallows the use of "arguments" and "eval" as
|
| + // variable names or property names. See ECMA-262, Edition 5.1,
|
| + // section 11.1.5 (for the property names).
|
| + "eval", "arguments"];
|
|
|
| // Symbols that we might be using in our JS snippets.
|
| static const reservedGlobalSymbols = const <String>[
|
|
|