The iso2 of au, cx, cc has same dial code of 61. Their priority is missing in the big list of code. That cause the allCountryCodes[61] === ["cc"].
BTW, I don't know how we define the priority of same dial code. If it's just by the order of the big list, shall we just change code to using some like push method to add country codes?
The iso2 of
au
,cx
,cc
has same dial code of61
. Their priority is missing in the big list of code. That cause theallCountryCodes[61] === ["cc"]
.BTW, I don't know how we define the priority of same dial code. If it's just by the order of the big list, shall we just change code to using some like
push
method to add country codes?