Skip to content

Instantly share code, notes, and snippets.

@bsudekum
Created May 12, 2013 16:50
Show Gist options
  • Save bsudekum/5564199 to your computer and use it in GitHub Desktop.
Save bsudekum/5564199 to your computer and use it in GitHub Desktop.
if (contacts[i].phoneNumbers != null && contacts[i].phoneNumbers != 'undefined') {
for (var j=0; j<contacts[i].phoneNumbers.length; j++) {
console.log('success: ' + contacts[i].phoneNumbers[j].value)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment