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
How can you create an Array in JavaScript?
Explain javascript accessors ?
How to hide javascript code from old browsers that dont run it?
Whether JavaScript has concept level scope?
How to have an element invoke a javascript on selection, instead of going to a new url?
What is the difference between Local Storage and Session Storage?
What will be the output of the following statements?
Name some of the JavaScript features?
Is javascript free to install?
How do you write a comment in javascript?
Explain the different types of pop-up boxes you can create in JavaScript.
How are event handlers utilized in javascript?
Is javascript client side or server side?
What is the === in javascript?
Please write the Code of simple javascript calculator withot eval() function