I am passed an object lets say called myobj.
Key: last, Value: "Yellow"
To get the key it is
Object.keys(myobj) // = ["last"]
To get the value it is
myobj.last // = "Yellow"
But I want to handle any key. So in pseudo code I want to combine these.
myobj.Object.keys(myobj) // to return "Yellow" or whatever the incoming key of the object is.