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