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.
Its bullshit but problem is - we can`t capitalize " ",
just add if statement to skip space character.
Does this help? https://stackoverflow.com/questions/33660518/why-can-functions-be-called-without-parentheses-when-using-template-strings
What do the backticks do here?
I see. Thank you.
Sergio, this returns true when divisors x and y leave the same remainder, right?
e.g. (11 % 2) == (11 % 5) // (1 == 1) true
but 11 is divisible by neither 2 nor 5, and should return false.
That's a problem with your code, not a kata issue.
I'm getting this.
Should return: 'Two words,tWo words,twO words,two Words,two wOrds,two woRds,two worDs,two wordS' - Expected: ['Two words', 'tWo words', 'twO words', 'two Words', 'two wOrds', 'two woRds', 'two worDs', 'two wordS'], instead got: ['Two words', 'tWo words', 'twO words', , 'two Words', 'two wOrds', 'two woRds', 'two worDs', 'two wordS']
Should return: ' Gap , gAp , gaP ' - Expected: [' Gap ', ' gAp ', ' gaP '], instead got: [, ' Gap ', ' gAp ', ' gaP ']