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