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.
Well done bro, i'm struggling on that one xD !
I think you're not skipping the trailing white space.
When i do it on the console it all works, i get this output:
-> [' Gap ', ' gAp ', ' gaP ']
but when i test it on codewars i get the wrong output :'( :'( :'( :'(
It says : Should return: ' Gap , gAp , gaP ' - Expected: [' Gap ', ' gAp ', ' gaP '], instead got: [' Gap ', ' gAp ', ' gaP ', ' gap ']
Anyone else that me got the same issue? If so what did you do to get it done?
It is the only issue i've got with this really cool and funny Kata