Ad
  • Custom User Avatar

    D'oh! Of course, thank you!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    That solved it thank you!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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.

  • Custom User Avatar

    Sorry Chrono, I still do not understand, it's just the even tests that aren't passing, why is that?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Ah right, okay thank you!

  • Custom User Avatar

    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

  • Custom User Avatar

    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...