Index: runtime/lib/string.dart |
=================================================================== |
--- runtime/lib/string.dart (revision 855) |
+++ runtime/lib/string.dart (working copy) |
@@ -135,7 +135,7 @@ |
} |
String substring(int startIndex, [int endIndex]) { |
- if (endIndex == null) endIndex = this.length; |
+ if (endIndex === null) endIndex = this.length; |
if ((startIndex < 0) || (startIndex > this.length)) { |
throw new IndexOutOfRangeException(startIndex); |