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.
This comment is hidden because it contains spoiler information about the solution
i got stuck cuz it kept on saying there was a problem with "filter_string" when the actual name was "filter_list"
This comment is hidden because it contains spoiler information about the solution
Can you explain what "array size extension" is exactly? I'm looking at your answer and see "fill" and "concat". Would these not be considered array size extensions also? Is your answer the best answer? If so, is filling a new array and concat better than push and spreading? How come?
yes that solution is not be best because of unnecesary loops.
but yours has unnecessary array size extension (pushs) too. same with array destructuring
lol cry more :D
slow
hover your mouse over the clever button
Of course its not "bad code" in the sense that it works, is efficient and, dosent take up memory. But doing it this way is just hard to read for no reason.
It's not "bad code". It's compact, sure, but the approach is declarative. Yeah, maybe it would be more readable split up, but that would not change the approach.
Example of bad code just because you can do it in one line dosent mean you should.
Glad I unlocked the solutions instead of wasting time on this crap..
Did the same, but I think it's not very easy to read?
This comment is hidden because it contains spoiler information about the solution
This is exactly what I did and I was wondering about this - thanks!
Loading more items...