Skip to content

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

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