Ad
  • Custom User Avatar

    That's a timeout with your code, not a kata issue. I've just tried TS version with my JS code and worked fine.

  • Custom User Avatar

    Whoever wrote the JavaScript testcases wrote the expected and the actual the wrong way around for the "More tests" section.

    Testcases are written:

    Test.assertEquals(actual, expected) but they wrote Test.assertEquals(expected, actual)

    e.g. they wrote Test.assertEquals(false, ' '.digit());.

    So, just switch what is expected and what your code is returning.