Firebase force to use map rather than array
问题 In firebase quide i read about array: https://www.firebase.com/docs/web/guide/understanding-data.html#section-arrays-in-firebase especially : However, to help developers that are storing arrays in a Firebase database, when data is read using val() or via the REST api, if the data looks like an array, Firebase clients will render it as an array. In particular, if all of the keys are integers, and more than half of the keys between 0 and the maximum key in the object have non-empty values, then