I currently have an object stored in Firebase (firestore) that looks like this:
{0: "first", 1: "second", 2: "third"}
and it is saved as a field for a document. I get it with a .get("field") and save it to an array in my js file. However, it is being saved as an object like the one above, when what I want is something like:
["first", "second", "third"]
I have tried a bunch of things but it seems more complex than it should be to convert this object to the array I want. Any idea how to do this in js?