is there a sum function in javascript code example Example: summation js const summation = (n) => (n * (n + 1)) / 2;