Inspired by a video on YouTube, I decided to write a simple function to check whether a word is a palindrome or not.
const isPalindrome = palWord =>
palWord === palWord.split("").reverse().join("")
Inspired by a video on YouTube, I decided to write a simple function to check whether a word is a palindrome or not.
const isPalindrome = palWord =>
palWord === palWord.split("").reverse().join("")
For further actions, you may consider blocking this person and/or reporting abuse
Kafeel Ahmad (kaf shekh) -
Ayoola Damilare -
Abhay Singh Kathayat -
Uchechi Nwaka -
Top comments (0)