Ad
  • Custom User Avatar

    Ohh... Thanks for your time, and reply.
    Have a nice day!

  • Custom User Avatar

    An issue is a bug with the kata. This is not a bug with the kata, it's a bug with your code. You don't return an iterable with any inputs. In the case of the first sample test, the code won't even reach your return line. For javascript, you should be returning an Array.

  • Custom User Avatar

    I've get this message for the tests in Javascript:

    TypeError: twoSum is not a function or its return value is not iterable
    at doTest (test.js:17:26)
    at Context. (test.js:32:5)
    at process.processImmediate (node:internal/timers:471:21)