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

SC.Array#without accepts only one parameter #1347

Open
mauritslamers opened this issue Jul 6, 2015 · 0 comments
Open

SC.Array#without accepts only one parameter #1347

mauritslamers opened this issue Jul 6, 2015 · 0 comments

Comments

@mauritslamers
Copy link
Member

Currently SC.Array#without only accepts one parameter.
It shouldn't be too hard to make it accepts more parameters, as it prevents having to do

myArray.without(thing1).without(thing2);

It would be much nicer to do:

myArray.without(thing1, thing2);

Edit: added proposal of how things could look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant