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

Fix invalid syntax in test case #182

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Fix invalid syntax in test case #182

merged 1 commit into from
Oct 26, 2018

Conversation

lo1tuma
Copy link
Owner

@lo1tuma lo1tuma commented Oct 26, 2018

new.target is only allowed in functions, when it’s used elsewhere we will get a parsing error.
I’ve also removed the unnecessary if statement in the rule as we can’t test the else branch because it is unreachable.

new.target is only allowed in functions
I’ve also removed the unnecessary if statement in the rule as we can’t
test the else branch because it is unreachable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant