Ad
  • Custom User Avatar

    Are you checking for 'null' or an empty string?

    That might be where you're failing, as the test cases (I don't think) test for those situations. (null being the function not having a value in the string portion; empty string being an empty string entered... i.e. encrypt( ,1) is null because there is nothing entered, where as encrypt('',1) is having an empty string for an argument.

  • Custom User Avatar

    Has anyone had issues where the code passes the test and then fails when the code is submitted? My javascript code passes the "solution" portion tests but fails the the third "solution" test when I go to submit the code.