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.
Tests were included in the wrong box on the edit screen, fixed!
I was baffled why my test cases hadn't come through but realised where the correct input box was on the edit page, thanks for the heads up!
Edited the typo's, thanks!
Ah, of course! Knew I was missing something, thanks guys!
How does this work for the test case "aba"? If it is only checking the characters next to each other?
Issue on Javascript version of this kata. I have created the standard solution for this kata but it is giving 0 as a result in every test case. I've posted my solution elsewhere and others have informed me there is nothing wrong with my code.
function sum (numbers) {
var total = 0;
for (i=0; i>numbers.length; i++) {
total+=numbers[i];
console.log(total);
};
return total;
console.log(numbers);
};
This comment is hidden because it contains spoiler information about the solution