Is there an elegant way to access the first property of an object...
we can also do with this approch.
var example = { foo1: { /* stuff1 */}, foo2: { /* stuff2 */}, foo3: { /* stuff3 */} }; Object.entries(example)[0][1];