The following are results from running every
and some
on the lists represented. A result of true
is represented by the function name being highlighted.
function(item){ return item == 1; }
every some
function(item){ return item == 1; }
every some
function(item){ return item == 2; }
every some