|
|
@@ -210,6 +210,18 @@ namespace Js
|
|
|
return nullptr;
|
|
|
}
|
|
|
|
|
|
+ // Ignore special properties (ex: Array.length)
|
|
|
+ uint specialPropertyCount = this->shadowData->currentObject->GetSpecialPropertyCount();
|
|
|
+ if (specialPropertyCount > 0)
|
|
|
+ {
|
|
|
+ PropertyId const* specialPropertyIds = this->shadowData->currentObject->GetSpecialPropertyIds();
|
|
|
+ Assert(specialPropertyIds != nullptr);
|
|
|
+ for (uint i = 0; i < specialPropertyCount; i++)
|
|
|
+ {
|
|
|
+ TestAndSetEnumerated(specialPropertyIds[i]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
RecyclableObject * object;
|
|
|
if (!this->enumeratingPrototype)
|
|
|
{
|