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