title: React undefined map output
body: <p>In react I would like to return and display a listing but in the following code, my <code>listing</code> is undefined in the log, why ? I have no error message </p>
  
  <pre><code>burgerListing = () =&gt; {
  
   const list = this.state.burgerList       
  
   const listing = list.map( burger =&gt; {
                       &lt;div key={burger.id}&gt;
                           &lt;h3&gt;{burger.name}&lt;/h3&gt;
                           &lt;strong&gt;{burger.price}&lt;/strong&gt;
                           &lt;p&gt;{burger.description}&lt;/p&gt;
                       &lt;/div&gt;
                   })
  
   console.log(listing);
  
   return listing
  
  }; 
  
  
  render(){
  
      return(
          &lt;div&gt;
              &lt;this.burgerListing  /&gt;
         &lt;/div&gt;
      )
  }
  </code></pre>