You are viewing a single comment's thread. Return to all comments →
JavaScript
function angryProfessor(k, a) { // Write your code here let studentOnTime = a.filter(time => time <= 0).length; return studentOnTime >= k ? 'NO' : 'YES'; }
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Professor
You are viewing a single comment's thread. Return to all comments →
JavaScript