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

    I don't think

    curryPartial(add)()(1)()()(2)(3, 4, 5, 6)

    should be interpreted at all. You should throw a TypeError, because you gave it to many arguments.
    It would also be nice to have the examples as testcases.

    Maybe you should add to the description, that kwargs (and arguments with defaults in general) are ignored.

    Other than that, I really enjoyed solving this kata.

  • 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

  • Custom User Avatar

    Tags are missing, otherwise ready