Having issues with array data
OUT PUTTING LIKE THIS
[{
"createdAt": [Object],
"date": "2021-08-22",
"description": "Yes"
}, {
"title": "greatt"
}
I need it to output like this below
[{
"createdAt": [Object],
"date": "2021-08-22",
"description": "Yes",
"title": "greatt"
}
const myList = [];
myList.push(otherArray, {title: 'Hello'})