Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge isObject branches #21226

Merged
merged 1 commit into from
Apr 9, 2021
Merged

Commits on Apr 9, 2021

  1. Merge isObject branches

    We assume that isArray and getIteratorFn are only called on objects.
    
    So we shouldn't have to check that again and again, and then check a flag.
    
    We can just stay in this branch.
    
    There is a slight semantic breakage here because you could have an
    iterator on a function, such as if it's a generator function. But that's
    not supported and that currently only works at the root. The inner slots
    don't support this.
    
    So this just makes it consistent.
    sebmarkbage committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    eafe0e4 View commit details
    Browse the repository at this point in the history