← Code LabTypeScript0/50 solved · 0%
Foundations · easy

2. Array Types

Define an array of numbers.

Write a function `sum(numbers)` that takes an array of numbers and returns their total.
Required in your answer: number[]