var obj = { first: 'someVal' };
obj[Object.keys(obj)[0]]; //returns 'someVal'
obj = { key:"value" }
Object.values(obj)[0] //returns "value"
let obj = {
first: 'first property value',
second: "hello"};
obj[Object.keys(obj)[0]]; //returns 'first property value'
var obj = { first: 'someVal' };
obj[Object.keys(obj)[0]]; //returns 'someVal'
Object.values(obj)[0]; // returns 'someVal'