Index: sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
index 2597d91a131c5911b21cbdc13885b5a6e55860ac..c981c709d2c0cfc464f6cd29d93fd907273f98e0 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/constant_emitter.dart |
@@ -93,7 +93,7 @@ class ConstantReferenceEmitter implements ConstantVisitor<jsAst.Expression> { |
jsAst.Expression visitTrue(TrueConstant constant) { |
if (compiler.enableMinification) { |
// Use !0 for true. |
- return js["!0"]; |
+ return js("!0"); |
} else { |
return new jsAst.LiteralBool(true); |
} |
@@ -102,7 +102,7 @@ class ConstantReferenceEmitter implements ConstantVisitor<jsAst.Expression> { |
jsAst.Expression visitFalse(FalseConstant constant) { |
if (compiler.enableMinification) { |
// Use !1 for false. |
- return js["!1"]; |
+ return js("!1"); |
} else { |
return new jsAst.LiteralBool(false); |
} |