Ad
  • Custom User Avatar

    Are you ignoring casing of the later as the message told you? Cause there is a difference between "success" and "Success", if you dont specify to JS that you dont care if its capital S or not, then it wont recognise it as equal value.

  • Custom User Avatar

    hey guys
    i tried tested my code and it passed 3 out pf the 4 tests mentioned.
    the one which went wrong gives a message like this:

     should ignore case: '(())())' should equal ')())())'
    

    i tried adding main to the code with "success" as an argument to the function and it gave me the correct result as mentioned in the instructions:

    ")())())"