I am trying to filter items that are between two values that are inputed as text. For example if I have this values:
export default [
{
name: Ricky,
age: 21
},
{
name:Mike,
age: 32
},
{
name:Arianna,
age: 23
}
];
How would I only display the people who are between the age of 20 and 25?
Aucun commentaire:
Enregistrer un commentaire