diff --git a/src/RJSArray.cpp b/src/RJSArray.cpp index 2681de9f..c66c4333 100644 --- a/src/RJSArray.cpp +++ b/src/RJSArray.cpp @@ -74,7 +74,7 @@ JSValueRef ArrayGetProperty(JSContextRef ctx, JSObjectRef object, JSStringRef pr } void ArrayPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames) { - ObjectArray *array = RJSGetInternal(object); + ObjectArray *array = RJSVerifiedArray(object); size_t size = array->size(); char str[32];