Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is the solution to Codewars' KATA: Square(n)Sum
function squareSum(numbers){
var total = 0;
for(var i = 0; i < numbers.length; i++) {
total += numbers[i] * numbers[i];
return total;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment