Index: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart |
index 2fc25a6fb80f706916b405d3a7fa2ea9a99b107f..670b30ca78f84f85ff1a6c763a5cf3072bcd575f 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart |
@@ -66,7 +66,7 @@ set$length(receiver, newLength) { |
} |
toString(var value) { |
- if (JS('bool', r'typeof # == "object" && # !== null', value, value)) { |
+ if (JS('bool', r'typeof # == "object" && # != null', value, value)) { |
if (isJsArray(value)) { |
return Collections.collectionToString(value); |
} else { |