title: Redux state set object to object
body: <p>i have initial state like:</p>
  
  <pre><code>let initialState = {
     items: [
        {
          name: 'a'
        },
        {
          name: 'b'
        }
     ],
     otherItems: []
  }
  </code></pre>
  
  <p>i'm trying to copy items and make it otherItems so otherItems will be same with items in case <code>SET_OBJECT</code></p>
  
  <pre><code>case: SET_OBJECT
    return {
     ...state, 
     otherItems: items
    }
  </code></pre>
  
  <p>i tried this but not worked. I'm getting error  <strong>items is not defined</strong></p>