I created the following object.
But why do the numbers appear before the letters, when printed.
const object1 = {
a: 'somestring',
b: 42,
c: false,
3: '3',
e: 'e',
4: 't'
};
object1.d = 'something';
object1.z = 'another thing';
console.log(Object.keys(object1));
// > Array ["3", "4", "a", "b", "c", "e", "d", "z"]