Ad
Code
Diff
  • export let flip_the_number = (x:number) => Number(x.toString().split("").reverse().join(''))
    • export let flip_the_number = (x:number) => +[...""+x].reverse().join('')
    • export let flip_the_number = (x:number) => Number(x.toString().split("").reverse().join(''))