var obj = { first: 'someVal' };
obj[Object.keys(obj)[0]]; //returns 'someVal'
obj = { key:"value" }
Object.values(obj)[0] //returns "value"
var person = {"name":"Steve","age":43};
var firstKeyValue = person[Object.keys(person)[0]]; //"Steve"
var example = {
foo1: { /* stuff1 */},
foo2: { /* stuff2 */},
foo3: { /* stuff3 */}
};
let [first] = Object.keys(example)
console.log(first)