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
Js type coercion always makes uncomfortable. Rather just do it explicitly where possible.
man idk, one sentence solutions look cool and smart from distance but code readability is also very important. just saying
nice
While this code does modifes the input directly, it is still a very clever way of solving the problem. I was scratching my head and came up with a solution with if and while but this is really good.
Clever!
non an error?
What would the expected return value be if the input was
null?it does not works with null input.
welcome to js
lmao nice
when you return you don't need to add the break couse you already breaking the code
This comment is hidden because it contains spoiler information about the solution
This comment has been deleted.
Loading more items...