title: recursion, callback and nodejs
body: <p>I have a big problem with recursion, callback and nodejs.</p>
  
  <p>I have this object for exemple :</p>
  
  <pre><code>var a= [
      {index : 1},
      {index : 2},
      {index : [
          {index : 11},
          {index : 12},
          {index : [
              {index : 111},
              {index : 112},
              {index : "end-of-tree"},
          ]},
      ]},
      {index : 4},
  ]
  </code></pre>
  
  <p>And I would like to display sequentially this:</p>
  
  <pre><code>1
  2
  11
  12
  111
  112
  end-of-tree
  4
  </code></pre>
  
  <p>with console.log(value)</p>
  
  <p>In pure javascript it's easy but as node run asynchronously, it's a bit more complicated.</p>
  
  <p>Who could help me ?</p>