Codewars square (n) jumlah

function squareSum(numbers) {    
    return numbers.reduce((a, x) => a + (x * x), 0)
}
Michael Futral