I am trying to solve a quite hard exercise for the university that I haven’t even encountered in codewars.
I have the following: myFunction(str1, str2) {str1 = \'comp