GuLiMmo
2024-03-06 52a426373c619415f876952b0de04af82564dd96
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}