Question: I'm having a weird issue with an object on react native.
The object is as follows:
Doing a :

```
console.log(data);

```

Shows:

```
Object {
  "data": Object {
    "size": 40,
    "team": "yellow",
  },
}

```

But then accesing the object....
Doing a:

```
console.log(data.size);

```

I get :

```
undefined

```

Why? How I have to do it to access the size?

Thanks

Answer: 
You probably want to do this,

```
console.log(data.data.size);

```

```js
const data = {
  "data": {
    "size": 40,
    "team": "yellow",
  },
}

console.log(data.data.size)
```

the is `data` object inside data. So, u also have to access that `data` for `size`
```
const data = { data: { size: 40 }};

```

So it should be `data.data.size`