title: The functional way of creating an array from properties on an array of objects?
body: <p>So basically here is what I have, which works as intended - </p>
  
  <pre><code>        let newList: any[] = [];
  
          for (let stuff of this.Stuff) {
              newList = newList.concat(stuff.food);
          }
  </code></pre>
  
  <p>So basically Stuff is an array of objects where each object has a property that is another object called food. I want to go through this array of Stuff and create a new array with each instance of food within it.</p>
  
  <p>I don't think the way I have done it is bad, I'm just wondering for my own curiosity how someone would have done this without the for loop.</p>
  
  <p>Cheers.</p>