create an array within an object 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'];
}]
};