dist/upptalk.js
function ParseCountryCode(number) {
    for (var n = 1; n <= 3; ++n) {
      var cc = number.substr(0,n);
      if (dataBase[cc])
        return cc;
    }
    return null;
  }
function ParseCountryCode(number) {
    for (var n = 1; n <= 3; ++n) {
      var cc = number.substr(0,n);
      if (dataBase[cc])
        return cc;
    }
    return null;
  }
function ParseCountryCode ( number ) { for ( var n = 1 ; n <= 3 ; ++ n ) { var cc = number . substr ( 0 , n ) ; if ( dataBase [ cc ] ) return cc ; } return null ; }
Determine the country code a number starts with, or return null if its not a valid country code.
Determine the country code a number starts with or return null if its not a valid country code .