phoneparser
phoneparser copied to clipboard
TypeError: d is null, when entering no valid areacode
Try to enter this code
parsePhone("40409901442323132")
it throws me a error and the return value from the function is null. uglyfied version "detailed error: TypeError: d is null"
Why does that happens? I know its not a valid number, do i have to check the areacode?