Objects often contain arrays as property values. A user might have an array of orders. A post might have an array of comments.
const user = {
name: "Alice",
orders: [101, 102, 103]
};
console.log(user.orders.length); // 3
You access the array with dot notation, then use any array method on it.