Java script | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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.

14th Dec 2016, 5:59 PM
Nashwan Aziz
Nashwan Aziz - avatar
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.
15th Dec 2016, 12:01 AM
Antek