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

Specify what typeof should return for exotic objects #640

Merged
merged 3 commits into from
Feb 25, 2019

Conversation

TimothyGu
Copy link
Member

@TimothyGu TimothyGu commented Feb 6, 2019

Fixes #512.


Preview | Diff

index.bs Outdated Show resolved Hide resolved
@annevk
Copy link
Member

annevk commented Feb 7, 2019

I had missed the typeof issue, but looking into it I wonder if this is something we should perhaps sort completely on the ECMAScript side: #512 (comment).

@domenic
Copy link
Member

domenic commented Feb 7, 2019

I think we should add the "must", merge, and potentially later revert if ES tightens itself up. I've found waiting on ES spec patches to land to be a bad time, so I'd rather not block on that.

@littledan
Copy link
Collaborator

FWIW I wrote the ES PR: tc39/ecma262#1441

But, my experience matches @domenic 's unfortunately; I'd be fine with merging this patch without waiting on the other one. It's great to have the ambiguity clarified.

@TimothyGu
Copy link
Member Author

"Must" added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants