Ad
  • Custom User Avatar

    As explained above, this is not a kata issue. Read about currying

  • Default User Avatar

    ik bout my solution cuz I was attempting it, wasn't gonna be my final answer yet

  • Custom User Avatar

    There are two problems:

    • Problem with tests is that it does not verify whether what you return is a function,
    • Problem with your solution that it does not do what is asked.

    The description says: "Create a function [...] that returns a callable function object.". Your solution returns something else.

  • Default User Avatar

    TypeError: rAvgSol is not a function
    at Context. (test.js:16:23)
    at process.processImmediate (node:internal/timers:471:21)
    Getting this error in Sample test for JS???