every method to check an array in JavaScript

Given an array of numbers. Check that all elements in the array are greater than zero.

Given an array of numbers. Check that for all elements the product of their values and their index numbers is less than 30.

enru