```ts
/** The values with every negative number removed. */
export function removeNegatives(values: readonly number[]): number[] {
  return values.filter(value => value >= 0);
}
```
The solution simply filters out all elements that are negative using the `filter` method, which does not mutate the original array.