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

rest param bug #12

Closed
army8735 opened this issue Aug 20, 2014 · 1 comment
Closed

rest param bug #12

army8735 opened this issue Aug 20, 2014 · 1 comment
Assignees
Labels

Comments

@army8735
Copy link
Owner

a(...b) -> a.apply(this, [].concat(b))

b可能不是个array,使用iterator

new a().b(...c)

需要解决

@army8735
Copy link
Owner Author

new a().b(...c)的this指向需临时变量存放new a()

army8735 added a commit that referenced this issue Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant