Ad
  • Custom User Avatar

    This one test did not get passed, so I decided to not go further and see the solution. Surprisingly, other solutions were the same as was mine, so not taking care of the leading 0 case. How come? Are the tests not the same for all?

  • Custom User Avatar

    Hey! There was nothing said in specs about octal numbers as input (Expected: 2110, instead got: 1201). Please remove the test or at least add it as a spec so that people know what type of input to expect.

  • Custom User Avatar

    This test DOES exist. JS treats numbers with leading 0 as octal. After researching a bit I have learnt that it would be a bad practice anyway to use numbers with leading 0 in real life code, therefore I would suggest not to waste time to search for a workaround, but rather to remove this example from tests.