Hi all, Assuming that
const myObject = {
one: 123,
two: 456,
};
could
myObject[in 0] === 'one' // true
be a better alternative of
Object.keys(myObject)[0]
and
myObject[in 3] === undefined
without the need to convert all the object keys into an array, but directly
accessing one.
Best,
Serghei
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

