Sum of squares

FCC link

Write a function to find the sum of squares of an array of integers.

Test

{{test}}

Console output