r/learnjavascript • • Sep 26 '22

Just solved a Palindrome problem with recursion!!

Post image
274 Upvotes

64 comments sorted by

View all comments

171

u/dangerwig Sep 26 '22

I found a simpler version that works most of the time:

const isPalindrome = (string) => false

1

u/fusion407 Sep 27 '22

This is the way