Greetings to all my fellow tech enthusiasts! I've encountered a new challenge involving accessing arrays within an array. This inner array contains two objects - product and quantity. I'm seeking guidance on how to access this nested array. If you have any solutions or insights, please don't hesitate to share them with me:
const arrayOfArrays = [
[
{ product: { name: 'Product 1', price: 10 }, quantity: 1 },
{ product: { name: 'Product 2', price: 20 }, quantity: 2 }
]
];