SyntaxFix
Write A Post
Hire A Developer
Questions
I know it's a late answer, but I think this is what OP asked for.
myobj[Object.keys(myobj)[0]];