-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix(traversing): Make filter
work on all collections
#1870
Conversation
This should also iterate over comment nodes. It doesn't appear to do that. |
@sehrgut This PR removes the restrictions for all set types. With this PR, you can iterate over a $([1,2,3,4,5]).filter((_,n)=>n%2).toArray()
//=> [1,3,5] |
Ah! I see that now. I think I assumed from the new imports list |
Fixes #1867