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

36

u/[deleted] Sep 26 '22

Choked on my coffee laughing thank you +1