Here's the next exercise for this section:
// slice and splice
const pizzas = [
{ name: 'Pepperoni', price: 8 },
{ name: 'BBQ Chicken', price: 12 },
{ name: 'Hawaiian', price: 10 },
{ name: 'Meat Lovers', price: 12 },
];
// 1. Create a new array of pizzas from the first two pizzas in the array
// 2. Remove your least favorite pizza from the array
You can fork this exercise on StackBlitz here.