Let's say I have the following javascript object containing three objects:
var list = [
{ age: 5 },
{ age: 10 },
{ age: 15 }
];
Is there a way of selecting a subset of elements based on age using JavaScript and JQuery? For example:
$.select(list, element.age>=10);