Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index db5da6f9f8978ea1818039c3072c434cee523e64..1e392e0bbd8d24e91314a333a4003b78db459565 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3561,7 +3561,8 @@ static i::MaybeHandle<i::Object> DefineObjectProperty( |
isolate, js_object, key, &success, i::LookupIterator::OWN); |
if (!success) return i::MaybeHandle<i::Object>(); |
- return i::JSObject::DefineOwnPropertyIgnoreAttributes(&it, value, attrs); |
+ return i::JSObject::DefineOwnPropertyIgnoreAttributes( |
+ &it, value, attrs, i::JSObject::FORCE_FIELD); |
} |