Answers for "is there a sum function in javascript"

2

summation js

const summation = (n) => (n * (n + 1)) / 2;
Posted by: Guest on June-19-2020

Code answers related to "is there a sum function in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language