+ 1
Java script
2. Write a JavaScript function that checks whether a passed string is palindrome or not? A palindrome is word, phrase, or sequence that reads the same backward as forward, e.g., madam or nurses run.
1 Answer
+ 1
I wrote a palindrome script here https://code.sololearn.com/WLbarp6gR48E
The function could be modified to simply return true or false depending on how it is planned to be used.