awesome-phonenumber types code example
Example 1: awesome-phonenumber
PhoneNumber( '+46707123456' ).getCountryCode( ); // -> 'SE'
Example 2: awesome-phonenumber
PhoneNumber( '+46707123456' ).getRegionCode( ); // -> 'SE'
PhoneNumber( '+46707123456' ).getCountryCode( ); // -> 'SE'
PhoneNumber( '+46707123456' ).getRegionCode( ); // -> 'SE'