Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index b77e450cff7a2d82c778add0ee4296a9de12c544..555af843168431b33f6891d9e0981c233160483b 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -2304,7 +2304,8 @@ bool v8::Object::Set(uint32_t index, v8::Handle<Value> value) { |
i::Handle<i::Object> obj = i::SetElement( |
self, |
index, |
- value_obj); |
+ value_obj, |
+ i::kNonStrictMode); |
has_pending_exception = obj.is_null(); |
EXCEPTION_BAILOUT_CHECK(false); |
return true; |