how do i write my function in recursive way? i found this task in my learnJS book, still can\'t figure it out even why should i do that.
btw function checks for polindrom