Here is my API data:
Home: {
metrics: {
aggregated_users_count: [
{
count: 1,
joined_day: '2019-08-13'
},
{
count: 2,
joined_day: '2019-08-14'
}
]
}
}
I want to assign 'count' values in a 'userCount' array and 'joined_day' in a 'registeredDate' array.
for eg:
const userCount = [1,2]