GULIMMO
2023-11-17 6fe7fa9d63a92572686a5d6945d3416883f14c02
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}