title: Updating an array of objects without mutation
body: <p>If I have an object:         </p>
  
  <pre><code>[
     {
         "value":"d1",
         "label":"bathstore.com",
         "selected":true
     },                             
     {
         "value":"d2",
         "label":"superdrug.com",
         "selected":true
     },
     {
         "value":"d3",
         "label":"papajohns.com",
         "selected":true
     }
  ]
  </code></pre>
  
  <p>how can I change every value of 'selected' field to 'false' using spread operator or Object.assign() to avoid object mutation?</p>