Currently I have an array like this:
var list = new Array([
{id: 0, content: "zero", group: 1},
{id: 1, content: "one", group: 2},
{id: 2, content: "two", group: 1},
{id: 3, content: "three", group: 1},
{id: 4, content: "four", group: 3},
]);
How can I remove the entries where group == 1 using javascript or Jquery?
splice(). Note: you have to iterate the list using a loop but care for a correct counter when removin elements.