title: Push only one type of item in array
body: <p>I want to be able to extract the values of the items bought at one specific location from my array. I want to be able to extract the value and put it into a seperate array, for example in the array posted below, I want to be able to get only the price for the item type Food and push it into a seperate array, how can I do that?</p>
  
  <pre><code>const array = [
      { Type: "Food", Price: "100" },
      { Type: "Entertainment", Price: "200" },
      { Type: "Food", Price: "80" },
      { Type: "Entertainment", Price: "150" }
  ];
  </code></pre>
  
  <p>Is there any easier way to get the total price of type Food?</p>