Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
so do you mean that I can do something like this:
[...new Set(a), ...new Set(b)]
insted of[...[...new Set(a)], ...[...new Set(b)]]
?Yes but the description of the function says it filters out strings. So for code re-use it is better to return the list with no strings than it is to return just the integers in the strings. Both will work with the dataset that is given of course. Or you could change the description of what the function does to say it returns only the integers in the string.
Set it's itterable, so u can combine a and b arrays in one with spread operator and don't use concat method.
+1