Ad
  • Custom User Avatar

    Thank you so much for this comment! I was utterly confused when:

    • The test header said "Should return -1"
    • The actual output suggested the expected result was []
    • The input seemed to be 2 based on console logging (which was already tested further up and handled correctly)

    I would've never been able to guess a non-integer was the problem based on the information made available to me by the test. Bad form.