Ad
  • Custom User Avatar

    In your code, this line does not make sense, Array.isArray() takes a single parameter:

      if(!Array.isArray(...args)){
    

    it is the return value of advice() that you have to check

  • Custom User Avatar

    Is this kata still workable? I'm trying to figure out the logic of the kata with hard coded values. I'm executing the advice(2,5,8) whenever the args is array or not. But for some reason advice is behaving differently for the same call => advice(2,5,8).

  • Custom User Avatar

    This is an issue

  • Custom User Avatar

    There are no sample tests.

  • Custom User Avatar

    added

  • Custom User Avatar
  • Custom User Avatar

    This description was somewhat confusing: "If the advising function returns an array, THE ARRAY should replace the arguments passed to the original method". I understood that THE ARRAY itself (as a whole array) should be passed as a one argument to the original method. It turns out kata required to pass not the array itself but the elements of that array (...array) as arguments to the original method.

  • Custom User Avatar

    My solution didn't pass, I unlocked the solutions and checked them - each of the solutions fails, it outputs: "Solution: should test for something". I guess it's due to the lack of tests. Why make a kata without tests, a kata which can't verify any solution? What's the point?
    So how to pass such a kata? Do I need to make up my own tests and input them in the test window, to check my solution? The problem is a have no clue how to write tests LOL.
    Anyways, at least I learned something from this kata. My solution was correct, just wasn't able to test it.

  • Custom User Avatar

    Calling a given function with a given argument is now a kata? Really?

  • Custom User Avatar
  • Custom User Avatar

    Re-raised as an issue.

  • Custom User Avatar

    The description is impossible to understand.

  • Custom User Avatar

    Should be updated to support Node 12.

  • Custom User Avatar

    Description is very unclear

  • Custom User Avatar

    Needs sample tests

  • Loading more items...