Ad
  • Custom User Avatar

    That is a personal opinion. JavaScript does not throw an error with the following code:

    function add(x, y, z) {
      return x + y + z;
    }
    add(1, 2, 3, 4, 5); // => 6 (no Error thrown)
    

    ... so I think it's fair for the Kata author to define the task such that excess arguments do not cause a problem.

    Marking this as resolved for approval (as long as other Issues on this Kata can be resolved as well).

  • Custom User Avatar

    Hi christofsteel, thank you for your comment. Currently there are three tags but I have no idea what more to add. Please make a suggestion and I will add your tags. Thanks