palimdrome number find using the javascript

technical talkiess
0

 <script>

function Ispalimdrome(str){

const ispalimdromeCheck = str.split('').reverse().join('');

alert(ispalimdromeCheck);

console.log(str === ispalimdromeCheck);

}

Ispalimdrome('adasd');


</script>

Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)