Sum of squares: Difference between revisions

no edit summary
m (→‎JS ES6: Tidied.)
No edit summary
Line 428:
 
=={{header|Arturo}}==
<lang arturorebol>arr: 1..10
 
print [sum| map arr -> &[x][x^2 ]</lang>
 
{{out}}
 
<pre>385</pre>
 
1,532

edits