JavaScript program to check if a string is a palindrome or not:

Created with Sketch.