Skip to content

Instantly share code, notes, and snippets.

@blake41
Created November 10, 2015 16:35
Show Gist options
  • Save blake41/cf60af83514787e2c232 to your computer and use it in GitHub Desktop.
Save blake41/cf60af83514787e2c232 to your computer and use it in GitHub Desktop.
for (var number in obj) {
obj[number].forEach(function(letter) {
answer[letter.toLowerCase()] = Number(number)
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment