<!DOCTYPE html>
<html lang="en-US">
<body>
<p>Check atleast one number is less than 2<p>
<script>
var myNumber = [30, 35, 40, 1, 45, 50, 55];
function checkValue(num) {
return num < 2;
}
document.write(myNumber.some(checkValue));
</script> </body>
</html>