Ad
  • Custom User Avatar

    The code in the rightmost brackets gets executed first, converting the input string to uppercase.
    Then, this value is passed into the leftmost pair of brackets (through the use of an es6 arrow function), and compared against the reversed string.

  • Custom User Avatar

    What is '.toUpperCase() doing here? ( I know what it does but why are we using it here?)