title: Getting undefined when accessing javascript object
body: <p>I'm having a weird issue with an object on react native.
  The object is as follows:
  Doing a :</p>
  <pre><code>console.log(data);
  </code></pre>
  <p>Shows:</p>
  <pre><code>Object {
    &quot;data&quot;: Object {
      &quot;size&quot;: 40,
      &quot;team&quot;: &quot;yellow&quot;,
    },
  }
  </code></pre>
  <p>But then accesing the object....
  Doing a:</p>
  <pre><code>console.log(data.size);
  </code></pre>
  <p>I get :</p>
  <pre><code>undefined
  </code></pre>
  <p>Why? How I have to do it to access the size?</p>
  <p>Thanks</p>