I have this empty array:
 prices: [
      {
          price:null,
          zone_id: null,
      }
 ]
how can i map my data to this empty array? Example data.
product:[
   0:{
       brand: 'a',
       size: '11',
       price: '120',
       zone_id: '1'
   }
]
How can I push only the price and zone id to that empty prices array
what i have right now.
this.prices.push(product);
the value of prices array should be
prices:[
   {
      price: '120',
      zone_id: '1'
   }
]
 
    