You are viewing a single comment's thread. Return to all comments →
Javascript solution: Get the length of filtered array with only number less than 1
// Write your code here let att = a.filter((a) => a < 1).length return att<k ? 'YES' :'NO'
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 solution: Get the length of filtered array with only number less than 1