Index: sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_string.dart b/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
index 04cfa7d7c9250c414b7e8a9c224eaed5798242d6..610f7f812d97450f8f0d56f4e3d2d2b2459ed87f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_string.dart |
@@ -227,6 +227,8 @@ class JSString extends Interceptor implements String, JSIndexable { |
bool get isEmpty => length == 0; |
+ bool get isNotEmpty => !isEmpty; |
+ |
int compareTo(String other) { |
if (other is !String) throw new ArgumentError(other); |
return this == other ? 0 |