Ad
  • Custom User Avatar

    Didn't know I could test it that way, nor did it occur to me - thanks!

  • Custom User Avatar

    This is interesting, because "Fixed tests" and "Small strings tests" should present you the input of failing tests.
    Sample tests (the ones run when you click TEST) do not present inputs, but you can add and remove test cases and assertions to see which one trips up your solution.

    In your case, it's this one: assert.strictEqual(scramble('katas', 'steak'), false);

  • Custom User Avatar

    JS: My code passes all large tests, but fails a basic one with the error output only showing "Expected true to equal false" - any ideas?