This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function state(phone){ | |
phonet=phone.toString(); | |
areaCode=phonet.replace(/\D/g,'').substr(0, 3); | |
areaCodei=Number(areaCode); | |
switch (areaCodei) | |
{ | |
case 205: | |
case 251: | |
case 256: | |
case 334: |