My data is organized in the following structure:
var states = {
'alabama': { abbv:'AL', ec: 9, winner: 0},
'alaska': { abbv:'AK', ec: 3, winner: 0},
'arizona': { abbv:'AZ', ec: 11, winner: 0}
}
If I wanted to locate "Alaska" by searching for "AK", how could I accomplish that?