how to declare objects inside arrays in javascript code example
Example: how to declare objects inside arrays in javascript
let cats = {
name: 'bob',
children: [let child1 = {
console.log('this is how to create objects inside an array'];
}]
};