create a method called filterGender that takes in the students array and a callback, which will be one of the previous is Male or Female methods. It will return all elements that meet that condition code example
Example: javascript filter array of objects
function isBigEnough(value) {
return value >= 10
}
let filtered = [12, 5, 8, 130, 44].filter(isBigEnough)
// filtered is [12, 130, 44]