-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for typeof symbol === "symbol" #2242
Conversation
I think you're going to need to add another assertion to the tests that use that fixture, but otherwise it looks p. good. Will merge when tests are fixed |
actually, I guess you probably won't need to add an assertion, since it's testing that an error isn't thrown... I guess it's okay :> |
It does error if I remove the fix |
yeah it's fine, we might want to do a followup to support the new futurehostile feature with it, which would call for some assertions --- but I think this is fine for now |
I'm not sure I understand what that'd consist of. |
It just means making it a bit more complicated so that people authoring for ES3/5 environments can keep new features out of their code |
Should it selectively add |
something like that, I'm not sure exactly. @jugglinmike is the expert on it, but it's probably something we can hold back on until someone complains |
I don't think the follow-up should use Doing this will require additional abstraction around the |
Fixes #2241