nice, somehow didn't work until i added the splitters for split() and join()
const isPalindrome = str => str.toLowerCase() === str.split('').reverse().join('')
Thanks for the save. I didn't even look at the syntax closely. It's still a pretty concise solution though
thats why we needs unit tests 😅
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.