Ad
  • Custom User Avatar

    Is that string intentionally messed up? When passing it to the plalindrome funciton, it can't even be logged. All of the characters are returning undefined. But when console.log()ing it normally, it's fine.

    Edit: Nevermind, it seems like after I do some operations on the string, it just destroys itself...

    lol, I guess that comes from not knowing RegEx. Nice exercise.