Skip to content

Instantly share code, notes, and snippets.

@telmen
Created December 4, 2018 04:48
Show Gist options
  • Save telmen/b41f952a2ac88f74df666c6f2c68a5c3 to your computer and use it in GitHub Desktop.
Save telmen/b41f952a2ac88f74df666c6f2c68a5c3 to your computer and use it in GitHub Desktop.
MN Telephony carrier
switch (number) {
case '99':
case '94':
case '95':
case '85':
return 'Mobicom';
case '80':
case '86':
case '88':
case '89':
return 'Unitel';
case '90':
case '91':
case '96':
return 'Skytel';
case '93':
case '97':
case '98':
case '83':
return 'GMobile';
default:
return 'Not listed';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment