Skip to content

Conversation

@curtisman
Copy link
Contributor

Even if the type match, the object may have change to have array index, producing wrong result.
Since we now have an instance of the DynamicObjectPropertyEnumerator in the JavascriptStaticEnumerator already, reset doesn't really gain us much. So just remove it.

…ObjectEnumerator

Even if the type match, the object may have change to have array index, producing wrong result.
Since we now have an instance of the DynamicObjectPropertyEnumerator in the JavascriptStaticEnumerator already, reset doesn't really gain us much.  So just remove it.
@curtisman
Copy link
Contributor Author

@rajatd please review.

@agarwal-sandeep
Copy link
Collaborator

:shipit:

@chakrabot chakrabot merged commit 2bded32 into chakra-core:master Sep 30, 2016
chakrabot pushed a commit that referenced this pull request Sep 30, 2016
…icEnumerator in the ForInObjectEnumerator

Merge pull request #1670 from curtisman:fix

Even if the type match, the object may have change to have array index, producing wrong result.
Since we now have an instance of the DynamicObjectPropertyEnumerator in the JavascriptStaticEnumerator already, reset doesn't really gain us much.  So just remove it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants