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