Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Palindrome Number

var isPalindrome = function(x) {
    
let y = x
let r = y.toString().split('').reverse().join('')

let t = Number(r)

if(t ===x){
  return true
}
else{ 
  return false}


}
Source by www.linkedin.com #
 
PREVIOUS NEXT
Tagged: #Palindrome #Number
ADD COMMENT
Topic
Name
8+9 =