All files
/
Is
regTest.js
50%
Statements
1/2
100%
Branches
0/0
0%
Functions
0/1
50%
Lines
1/2
1 2 3 4
1x
export const isPhone =
fu
nction(phone) {
return /^1[0-9]{10}$/.test(phone + '')
}