The `values()` method returns an `IterableIterator<number>` that walks the array elements in order. Two `next()` calls pull `1` and `2`, and their sum is `3`. The iterator is stateful, so each `next()` advances the cursor; the typed result lets TypeScript know `value` is a `number`.