Ad
  • Default User Avatar

    I think line 5 in the test case has a typo:

    var add_ = defaultArguments(add_,{b:3});
    

    Considering add_ is my function and doesn't have any named arguments, it doesn't make sense. Unfortunately, that test also appears to be part of the acceptance test for the solution, so my only option is to 'cheat'.

  • Default User Avatar

    I think this solution only works for one month of the year. It certainly fails for me.