-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unable to pass 11 params #1
Comments
This should work, the 1-10 param thing is mainly for native constructors (and occasionally a nice micro-optimisation) |
Ah! I just realised ES6 classes behave the same as native constructors, that explains it. |
Published as 1.0.4, enjoy ❤️ |
edef1c
added a commit
that referenced
this issue
Sep 2, 2016
This should let us handle variable-argument ES6 class constructors with arbitrary argument count, and should prevent #1 from recurring. It might be unnecessary to have the 11-20 argument cases now, but they can stay pending further testing.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my project I currently use constructors with 11 params. May you please extend the lib so I will be able to pass 11 params?
The text was updated successfully, but these errors were encountered: