Ad
  • Default User Avatar

    'looks like you've solved it'

  • Default User Avatar

    The typeof function returns the data type as a string, meaning that you are only checking whether it is the same data type. Then you are using === (identity) instead of == (equality). This means that it will return false if data types are different.

  • Default User Avatar

    Probably input like ""(no symbols) and " "(only space), failed. I had been same problems. Try to add check on this tests.