Index: sdk/lib/_internal/js_runtime/lib/js_helper.dart |
diff --git a/sdk/lib/_internal/js_runtime/lib/js_helper.dart b/sdk/lib/_internal/js_runtime/lib/js_helper.dart |
index fdc1ee23e65d7129262b1de1dbd330773de1ab8e..ab3f79c999471470f3a972deb09b10cda8f3d79b 100644 |
--- a/sdk/lib/_internal/js_runtime/lib/js_helper.dart |
+++ b/sdk/lib/_internal/js_runtime/lib/js_helper.dart |
@@ -2898,10 +2898,9 @@ class BoundClosure extends TearOffClosure { |
bool operator==(other) { |
if (identical(this, other)) return true; |
if (other is! BoundClosure) return false; |
- return JS('bool', '# === # && # === # && # === #', |
- _self, other._self, |
- _target, other._target, |
- _receiver, other._receiver); |
+ return JS('bool', '# === #', _self, other._self) && |
+ JS('bool', '# === #', _target, other._target) && |
+ JS('bool', '# === #', _receiver, other._receiver); |
} |
int get hashCode { |