I have a users list which have firstname and age. I want to filter out the users which have same age. Age will not be known , it will come dynamically , so cannot do filter(age > 26)
const users = [
{firstName: 'Rohan', age: 26},
{firstName: 'Ronny', age: 22},
{firstName: 'Ronnie', age: 23},
{firstName: 'RohanB', age: 26},
]