every method to check an array in JavaScript
everyЗадание 1
Given an array of numbers. Check that all elements in the array are greater than zero.
Задание 2
Given an array of numbers. Check that
for all elements the product of their
values and their index numbers is less
than 30.