Spot the bug - #112: Card Grid

My grocery list totals are off, snacks vanish somehow

const groceries = [
  { item: "Apples", price: 3 },
  { item: "Bread", price: 2 },
  { item: "Chips", price: 4 },
  { item: "Soda", price: 1 }
];

function removeCheapItems(list, limit) {
  for (let i = 0; i < list.length; i++) {
    if (list[i].price < limit) {
      list.splice(i, 1);
    }
  }
  return list;
}

const result = removeCheapItems(groceries, 3);
console.log(result.map(g => g.item));

Reply with what is broken and how you would fix it.