Index: src/collection.js |
diff --git a/src/collection.js b/src/collection.js |
index 94125fb89956caf6c7eb0b3f69060962c20fcb8f..e2cda595d845e0dc89a58e7e11a560f901c6821c 100644 |
--- a/src/collection.js |
+++ b/src/collection.js |
@@ -47,12 +47,7 @@ function SetDeleteJS(key) { |
throw MakeTypeError('incompatible_method_receiver', |
['Set.prototype.delete', this]); |
} |
- if (%SetHas(this, key)) { |
- %SetDelete(this, key); |
- return true; |
- } else { |
- return false; |
- } |
+ return %SetDelete(this, key); |
} |