Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is there automatic type conversion in JavaScript?

960


How to change style on an element?

975


What close() does in javascript?

948


What Does JavaScript Void(0) Mean?

942


To put a "close window" link on a page ?

947


How many data types are there in javascript?

1042


What are the different types of errors supported by javascript?

1132


What are exports & imports?

961


Create a new javascript object with the keys of “fname” equal to your first name, “lname” equal to your last name, and “fcolors” equal to and array of 3 of your favorite colors. Assign this object to a variable called “me” and log it to the console.

1021


How to create array in JavaScript?

1120


How can javascript codes be hidden from old browsers that don't support javascript?

961


Define a named function in javascript.

927


What is the most popular javascript library?

917


In javascript what is an argument object?

1583


How to detect browser name using JavaScript?

1034