Write a program to check whether a given number is a
palindrome or not?
Answer Posted / annshuk
function isPalidrome(str){
if(str== str.split('').reverse().join())
return str +"is palidrome";
else return str +"try another string";
}
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a boolean search?
Do I need javascript enabled?
How do I open javascript in chrome?
What is class example?
What are the different types of errors supported by javascript?
What does _ mean in javascript?
In Java coding we will write a public static void main()? Why won't we write as a static public void main()
What is the use of the ‘this’ keyword?
Explain the difference between call() and apply()?
How to test 404 page in QA
What is number in javascript?
Is javascript server side or client side?
How do I link an external javascript file to html?
What is a javascript code?
What are the four basic data structures in javascript?