title: set state of array of objects
body: <p>I have an array of objects in state and i want to change state of that array using this.setState.</p>
  
  <pre><code> state = {
     randomNumbers: [{ value: 6 }, { value: 3 }, { value: 2 }]
   };
  </code></pre>
  
  <p>i want to update these numbers with random values.
  How can i update these values in a function.</p>
  
  <pre><code>handleUpdate = () =&gt; {
   let randomFirst = Math.floor(Math.random() * 6) + 1;
   let randomSecond = Math.floor(Math.random() * 6) + 1;
   let randomThird = Math.floor(Math.random() * 6) + 1;
   //i have to set state here and assign these three random numbers values to state values one by one.
   this.setState(?);
  }
  </code></pre>