every()
const nums =[11,12,13,24];
const nums2= [0,-8,9,-7];
nums.every(value => value > 0);
//return true
nums2.every(value => value > 0);
//return false
every()
const nums =[11,12,13,24];
const nums2= [0,-8,9,-7];
nums.every(value => value > 0);
//return true
nums2.every(value => value > 0);
//return false
For further actions, you may consider blocking this person and/or reporting abuse
David Fagbuyiro -
Anjan Shomodder -
Md. Maruf Sarker -
Simranjit singh -
Top comments (0)