Ok so let\'s say that I have my object
myobj = {\"A\":[\"Abe\"], \"B\":[\"Bob\"]}
and I want to get the first element out of it. As in I want i
Object.keys(city)[0]; //return the key name at index 0 Object.values(city)[0] //return the key values at index 0