title: How add item in an object?
body: <p>I have this in my state:</p>
  
  <pre><code>fbPages:{'123':'Teste','142':'Teste2'}
  </code></pre>
  
  <p>But I need something like this dynamically: </p>
  
  <pre><code>async getFbPages(){
          var fbPages = {}
              await this.props.resultPosts.facebookPagesList.data.map(item =&gt; {
                  fbPages.push({item.id: item.name});
              });
              this.setState({fbPages});
              console.log(this.state);
  } 
  </code></pre>
  
  <p>I got a error here <code>fbPages.push({item.id: item.name});</code>, how can I do this?</p>