We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a function is declared inside an array or object, unused arguments don't get removed.
const arr = [ function test(unused) {} ] const obj = { a: function test(unused) {} } function test(unused) {} console.log(arr, obj, test)
Output:
console.log([ function(unused) {} ], { a: function(unused) {} }, function() {});
No response
Playground link
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the feature
If a function is declared inside an array or object, unused arguments don't get removed.
Output:
Babel plugin or link to the feature description
No response
Additional context
Playground link
The text was updated successfully, but these errors were encountered: