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.
D'oh! Of course, thank you!
This comment is hidden because it contains spoiler information about the solution
That solved it thank you!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks, solved it now! So because I assigned array as the argument to the new function array sum in a loop I would have to expilicity state an array is passing through it.
Sorry Chrono, I still do not understand, it's just the even tests that aren't passing, why is that?
This comment is hidden because it contains spoiler information about the solution
Ah right, okay thank you!
There appears to be an error with the solution
let multiply = (a, b) => a * b;
When running sample tests it shows an error saying;
should test for something
This is just an example of how you can write your own TDD tests - Expected: 'expected', instead got: 'actual'
However the final attempt works fine as expected. Why is this?
Best regards,
Shahe
I must ask a question which probably has a very obvious solution. Why must the function be called replace in this kata? It appears to be directly tied to the regular expression method although I cannot see why that should be the case?
Thanks!
Loading more items...