I have initialized a static array as shown below:
country["0"]=[USA];
state[country[0][0]]=[["NewYork","NY"],["Ohio,"Oh"]]
for (var i = 0; i < state[country[0][0]].length; i++) {
var key = state[country[0][0]] [i][0];
var value = state[country[0][0]] [i][1];
}
In the above loop, I am able to access the keys of states like NewYork and Ohio. Can someone guide me on how to retrieve the values "NY" and "OH"?