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
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
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
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:(