answer to Array#Every and Array#Some
answer to Array#reduce
answer to recursion