How to access nested array which is in json response :     {
        "token": "*********",
        "roles": [
            {
                "id": 4,
                "name": "User",
                "pivot": {
                    "user_id": 1,
                    "role_id": 4
                }
            }
        ]
    }
I'm able to get the token from this json response by `const token = response.json().token;` 

I want to access roles->name from this and return in a