Zły profesor JavaScript

const angryProfessor = (k, a) => a.filter(v => v < 1).length < k ? 'YES' : 'NO'
Jealous Jellyfish