title: Underscore to flatten nested array of parent/child objects
body: <p>I have an array of objects, where each object has a "children" property (example data below). I want to flatten parents/children into a single array, with each parent immediately followed by it's children.</p>
  
  <p>I've written the following using lo-dash / underscore, and it works when I have one and only one child for each parent: </p>
  
  <pre><code>_.flatten(_.zip(myArr, _.flatten(myArr, "children")))
  </code></pre>
  
  <p>I know I can use something like _.each and build an object, just wondering if there's a snazzy way to do this using _.  </p>
  
  <p>Example Data: </p>
  
  <pre><code>[{
      name: "Some Name",
      value: 1234,
      children: [{
          name: "Another name",
          value: 3456
      }, {
          name: "A third name",
          value: 9876
      }]
  }, {
      name: "Omg Lazer Guns",
      value: 3333,
      children: [{
          name: "PewPewPew",
          value: 4444
      }]
  }];
  </code></pre>