title: Javascript setting uniqueId() as array keys
body: <p>Should be a simple answer, could be that my syntax is not correct since I am new to ReactJS.  I would like to assign a unique id as the key.</p>
  
  <p>This throws an error:</p>
  
  <pre><code>rows:{
    uniqueId() : { name:"Kitchen Remodel", value:20100 },
    uniqueId() : { name:"Basement Remodel", value:8300 }
  }
  </code></pre>
  
  <p>This does not? Please explain...</p>
  
  <pre><code>rows:{
    143434 : { name:"Kitchen Remodel", value:20100 },
    984578 : { name:"Basement Remodel", value:8300 }
  }
  </code></pre>
  
  <p>Thanks!</p>