function calculateSum(numberArray) { let sum = 0; for (let num of numberArray) { sum += num; } return sum; }
Pro tip: use ```triple backticks around text``` to write in code fences