DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Codewars Square(n) Sum
function squareSum(numbers) { return numbers.reduce((a, x) => a + (x * x), 0) }
PREVIOUS
NEXT
Tagged:
#Codewars
#Sum
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit