how to declare array inside object 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'];
}]
};