-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Can't import variable named of
#1340
Comments
of
.of
You can read more about it here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of 😃 |
@codemonkey800 No it's not. |
@michaelficarra Hmm, you're right. My mistake. Just went on MDN and confirmed it's not. Not sure what the issue is then. |
Yup, looks like we're overstrict on this. Thanks for the bug report! |
(By the way, I think the fantasyland project is great—is there an effort to integrate Flow? If so, keep me in the loop. I think it's a good motivating use case for us.) |
@samwgoldman Unfortunately we accidently have made that integration harder by trying to fix name clashes issue (see 2. in fantasyland/fantasy-land#122 (comment)) |
Not sure if this by spec or a bug, but I couldn't find any mention of
of
being somehow special case in import.The text was updated successfully, but these errors were encountered: