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

what data type javascript supports?

926


Are you concerned that older browsers don't support javascript and thus exclude a set of web users? Individual users?

963


Explain higher-order functions in javascript?

868


What is use of flutter?

861


What is an asynchronous programming? Why is it important in javascript?

987


Write a program to exaplain the deferred scripts using event handlers in javascript.

849


How do you define a class and its constructor?

922


How to import all exports of a file as an object.

913


What is use of settimeout function in javascript?

1015


Why jquery is used instead of javascript?

833


What is undefined value means in javascript?

1001


What value does prompt() return if the user clicked the cancel button?

822


What is design pattern in javascript? Explain

933


What are the Advantages and Disadvantages of JavaScript?

957


How to get height and width of different browser in Javascript?

902