Ad
  • Custom User Avatar

    Please mark your post as having spoiler content next time. Read the error message you get:

    Unhandled rejection TestError: [1,'[',']'] same as ['[',']',1]
    
  • Default User Avatar

    Suggestion: print out your input, and probably your output as well.

    function isAValidMessage(message){
      let res = true
      console.log(`isAValidMessage(${message}) -> ${res}`)
      return res
    }