Created
July 17, 2017 16:51
-
-
Save ethanstenis/94f3e3c1dd1a73c061df0733f411f68e to your computer and use it in GitHub Desktop.
Revisions
-
ethanstenis created this gist
Jul 17, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ function squareSum(numbers){ var total = 0; for(var i = 0; i < numbers.length; i++) { total += numbers[i] * numbers[i]; } return total;