const isOdd = (number) => { 
  return number % 2 === 1 
};

isOdd(29);
const atLeastTwo = (array, callback) => 
  array.filter(callback).length >= 2


console.log(atLeastTwo([1, 2, 3, 4, 5], isOdd));
console.log(atLeastTwo([2, 4, 6], isOdd));
console.log(atLeastTwo([1, 2, 3, 4, 5], t => t > 3));