var a=[1,3,5,7]
var b=a.every(
    function(x){
        return x%2==1;
    }
)
console.log(b)

var c=a.some(
    function(x){
        return x<2;
    }
)
console.log(c)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: