On my realtime firebase database I store my products with unique keys, i.e.,
- products
 |
  - KPYGghMerx_AKU8b4ki
   |
    - name: "product A"
    - price: 1.99
  - KPYNtki7UWnh5evYQgjT
   |
    - name: "product B"
    - price: 3.99
I retrieve this data as follows
this.productsRef.on('value', (snapshot) => {
  var data = snapshot.val();
}
This returns the object as expected, i.e.,
{
  KPYGghMerx_AKU8b4ki: {
                         name: "product A"
                         price: 1.99
                       },
  KPYNtki7UWnh5evYQgjT: {
                         name: "product B"
                         price: 3.99
                       }
 }
What's the easiest way to map these objects into an array without the unique keys? e.g.
{
  name: "product A"
  price: 1.99
},
{
  name: "product B"
  price: 3.99
}
 
    