title: iam learning REACTJS but i had an error if anyone can help me
body: <p>This is the error :
  TypeError: Cannot read property 'name' of undefined</p>
  
  <p>Code : </p>
  
  <pre><code>import React from 'react'
  import Product from './Product'
  import vschoolProducts from './vschoolProducts'
  
  function App() {
  
          const productComponenets = vschoolProducts.map ( item =&gt; &lt;Product Products={item}/&gt;)
  return(
  
      &lt;div&gt;
         {productComponenets} 
      &lt;/div&gt;
      )   
  }
  
  export default App
  </code></pre>
  
  <hr>
  
  <pre><code>import React from 'react'
  
  function Product (props) {
  
  return (
      &lt;div&gt;
          &lt;h3&gt;{props.product.name}&lt;/h3&gt;
          &lt;h6&gt;{props.product.price.toLocaleString("en-Us", {style: "currency", currency: "USD"})}&lt;/h6&gt;
          &lt;p&gt;{props.product.description}&lt;/p&gt;
  
      &lt;/div&gt;
  )
  }
  
  export default Product
  </code></pre>
  
  <hr>
  
  <pre><code>const products = [
  
  {
      id:"1",
      name:"Pencil",
      price:1,
      description:"Pencil Description Goes Here Pencil Description Goes Here Pencil Description Goes Here"
  },
  
  {
      id:"2",
      name:"Housing",
      price:0,
      description:"Housing Description Goes Here Housing Description Goes Here Housing Description Goes Here"
  },
  
  {
      id:"3",
      name:"Computer Rental",
      price:300,
      description:"Computer Rental Description Goes Here Computer Rental Description Goes Here Computer Rental Description Goes Here"
  },
  
  {
      id:"4",
      name:"coffe",
      price:2,
      description:"coffe Description Goes Here coffe Description Goes Here coffe Description Goes Here"
  },
  
  {
      id:"5",
      name:"Snacks",
      price:0,
      description:"Snacks Description Goes Here Snacks Description Goes Here Snacks Description Goes Here"
  },
  
  {
      id:"6",
      name:"Rubber Duckies",
      price:3.5,
      description:"Rubber Duckies Description Goes Here Rubber Duckies Description Goes Here Rubber Duckies Description Goes Here"
  }
  ]
  export default products
  </code></pre>