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

why are unused method params/arguments allowed? #1033

Closed
zanona opened this issue Dec 21, 2017 · 2 comments

Comments

@zanona
Copy link

commented Dec 21, 2017

Shouldn't the below warn about the unused b parameter?

function foo (a, b) { return a + 1 }
@andywer

This comment has been minimized.

Copy link

commented Jan 15, 2018

See #557 (still open, though).

@zanona

This comment has been minimized.

Copy link
Author

commented Jan 15, 2018

Thanks for referencing this @andywer. Closing this as a duplicate.

@zanona zanona closed this Jan 15, 2018

@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.