Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 7c243cbdfdf8fcef67c16c28e5681748b846f731..750d7df7ff9f46eb9527d967abb563956c7cfc9b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3638,7 +3638,8 @@ static i::MaybeHandle<i::Object> DefineObjectProperty( |
name = i::Handle<i::String>::cast(converted); |
} |
- return i::JSObject::DefinePropertyOrElement(js_object, name, value, attrs); |
+ return i::JSObject::DefinePropertyOrElementIgnoreAttributes(js_object, name, |
+ value, attrs); |
} |