SyntaxFix
Write A Post
Hire A Developer
Questions
The top answer could generate the whole array and then capture from the list. Here is an another effective shortcut
var obj = { first: 'someVal' }; Object.entries(obj)[0][1] // someVal