If I have an object like this:
const database = {
921: "some value",
342: "another value",
999: "etc",
432: "and etc"
};
then how do I loop over it in the order it's in now? I'm using a "for .. in" loop currently but it iterates over the objects in numerical order instead of the order they're declared. Googling turned up nothing.
Thanks in advance.