const users = [
["Alice", 25, true],
["Bob", 30, false],
["Charlie", 22, true],
["David", 27, true],
["Eve", 20, false]
];
let c = users.filter(function(item, index){
return item[index] >= 25
})
console.log(c)
- return item[index] >= 25
+ return item[1] >= 25 && item[2] === true