2798-number-of-employees-who-met-the-target

DevGod
Vtuber
/** * @param {number[]} hours * @param {number} target * @return {number} */var numberOfEmployeesWhoMetTarget = function(hours, target) { return hours.filter( (el)=>el>=target).length;};