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.
Is this kata a shameless advertisment?
Thanks, that was fun!
Duplicate
Issue
. Closing.Duplicate issue anyway. Closing.
Added.
This comment is hidden because it contains spoiler information about the solution
@bozh, I agree 👍
str.each_char
seems like a better option.So, use
str.chars
before.map
is inefficient.Me too... Spoilers.... :)
language?
Needs random tests
Done.
On it.
JavaScript by convention uses camelCase, not snake_case. The JavaScript translation does not.
Please follow convention.
Added a Javascript translation!
Loading more items...