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

0

u/[deleted] Sep 26 '22

[deleted]

4

u/bryku helpful Sep 27 '22

As all good thongs should be

1

u/fujiman Sep 27 '22

What kind of pos thong doesn't follow the 80/20 rule?