JavaScript Taskbook Level 1.6

Задание 1

Given an array of numbers, find the sum of the squares of the elements of this array.

Задание 2

Given an array of numbers, find the sum of the square roots of the elements of this array.

Задание 3

Given an array of numbers, find the sum of the positive elements of this array.

Задание 4

Given an array of numbers, find the sum of those elements of this array that are greater than zero and less than ten.