husq
2023-09-18 9464e5a8d69ff40dd0fef0e02d1947de15621c24
1
2
3
4
export function formatPhoneNum (phoneNum: string | number) {
  const str = String(phoneNum)
  return str.substring(0, 3) + '****' + str.slice(-4)
}