Browse Source

Specify what to do when the slice is empty

1275-popint
estlop 2 years ago
parent
commit
b104757469
  1. 2
      subjects/popint/README.md

2
subjects/popint/README.md

@ -2,7 +2,7 @@
### Instructions
Write a function that receives a slice of int and returns a new slice without the last element.
Write a function that receives a slice of int and returns a new slice without the last element. If the slice is empty return an empty slice.
### Expected function

Loading…
Cancel
Save