Ad
  • Custom User Avatar

    You're printing one thing and returning a different one. You overwrote what you did in array2 with array.

  • Default User Avatar

    Log
    How Can Mirrors Be Real If Our Eyes Aren't Real

    i tested my function in console and it returned the string with capital first letters, but here it says:

    Failed asserting that two strings are identical.
    Expected: 'How Can Mirrors Be Real If Our Eyes Aren't Real'
    Actual : 'How can mirrors be real if our eyes aren't real'

    My console returns: How Can Mirrors Be Real If Our Eyes Aren't Real
    i'm not sure what's wrong