Ad
  • Custom User Avatar

    You still have to use toLowerCase. localCompare just takes care of the a>b 1, b>a, -1, 0 conditions as Shaun said.

  • Custom User Avatar

    Oh cool. This is the first problem of this nature that required specific implementation. Thanks. I thought it was a kata Test mechanism throwing the error.

  • Custom User Avatar

    I'm not sure what the error this test is throwing and I haven't found doc on filters anywhere. Anyway I'm receiving this error.

    "Should use filter-method:
    Test Failed: Try with filter-method - Expected: true, instead got: false"