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.
You need not to return this even.length === 1 ? even[0] : odd[0]; as ternary operator itself returns the value...
awesome
Lovely when someone answers my exact questions on here :) Much appreciated.
good work using repeat two times to avoid looping
Nice!
Thank you and yes probably you are right. Thanks for your code review
I know you posted this 6 years ago but I don't think you have to be rude when you do code review. Thanks
Thank you but probably I should have iterated through the array once and have a conditional statement to check for even and odd numbers and store them into even and odd arrays.
Very clean 👍🏻
This comment is hidden because it contains spoiler information about the solution
yes
Is this a recursive function? It's cool.
Ta, been asking that myself
This comment is hidden because it contains spoiler information about the solution
I forgot it
Loading more items...