The best of both
Your phone's contacts are a list of cards. Put objects inside an array and you can model almost anything: products in a shop, students in a class, songs in a playlist.
An array of objects
const menu = [
{ name: "momo", price: 180, veg: false },
{ name: "dal bhat", price: 250, veg: true },
{ name: "aloo paratha", price: 120, veg: true },
];
console.log(menu[1].name);
for (const dish of menu) {
console.log(`${dish.name} — Rs ${dish.price}`);
}