Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 125a31be06f94b802e9f61a465335ee641b8c189..cf054147ac979786e2d621881ddf85a82a364252 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3481,7 +3481,7 @@ i::MaybeHandle<i::Object> DeleteObjectProperty( |
// underlying string does nothing with the deletion, we can ignore |
// such deletions. |
if (receiver->IsStringObjectWithCharacterAt(index)) { |
- return isolate->factory()->true_value(); |
+ return isolate->factory()->false_value(); |
} |
return i::JSReceiver::DeleteElement(receiver, index, language_mode); |