Hi, I split the string into an array using space as a separator. Then I used the filter() method to get rid of all the empty strings in my array. I carried out all the other operations with the array returned by filter() method. I can't disclose my code here because it will be a spoiler
Hi I moved the tests over into the example tests so you can see what's exactly being tested. I've tried to work out what causing your problem but I cannot figure it out so just thought I'd give you a short term solution for the time being
Me too)))
Very good kata's series! It made me to study the algorithms for finding the shortest paths between nodes in graphs.
Hi, I split the string into an array using space as a separator. Then I used the filter() method to get rid of all the empty strings in my array. I carried out all the other operations with the array returned by filter() method. I can't disclose my code here because it will be a spoiler
How did you do that?
This comment is hidden because it contains spoiler information about the solution
Thanks. I stuck on this test: Test.assertEquals(reverseMessage(''),'').
But i've already solved this problem
Thank you :)
Hi I moved the tests over into the example tests so you can see what's exactly being tested. I've tried to work out what causing your problem but I cannot figure it out so just thought I'd give you a short term solution for the time being
How can I see all the tests? I've passed tests. But the result of full tests is "Cannot read property 'toUpperCase' of undefined". I can't get why:(