javascript fast addition on array code example Example: summation js const summation = (n) => (n * (n + 1)) / 2;