docs(secondhalf): clarify behavior for edge cases of odd arrays

This commit is contained in:
Michele Sessa 2023-06-20 12:32:33 +01:00 committed by Michele
parent 027eb2f859
commit 774267e6f4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Write a function `SecondHalf()` that receives a slice of `int` and returns another slice of `int` with the second half of the values.
- If the length is odd, round it up.
> If the length is odd, include the middle value in the result.
### Expected function